Compare commits
2 commits
1377cd916b
...
5ce37bf67e
Author | SHA1 | Date | |
---|---|---|---|
5ce37bf67e | |||
3fe049c683 |
3 changed files with 3 additions and 5 deletions
|
@ -15,13 +15,12 @@
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
<ul class="articles-list">
|
<ul class="articles-list">
|
||||||
{{- range .Paginator.Pages -}}
|
{{- range .Pages.ByTitle -}}
|
||||||
{{- .Render "li" -}}
|
{{- .Render "li" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ partial "pagination.html" . }}
|
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -11,12 +11,11 @@
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
<ul class="articles-list">
|
<ul class="articles-list">
|
||||||
{{- range .Paginator.Pages -}}
|
{{- range .Pages.ByDate.Reverse -}}
|
||||||
{{- .Render "li" -}}
|
{{- .Render "li" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</ul>
|
</ul>
|
||||||
</article>
|
</article>
|
||||||
{{ partial "pagination.html" . }}
|
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# theme.toml template for a Hugo theme
|
# theme.toml template for a Hugo theme
|
||||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||||
|
|
||||||
name = "Iðunn"
|
name = "Snotra"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
licenselink = "https://git.vulgarisons.info/raghnarok/hugo_idunn/src/branch/master/LICENSE"
|
licenselink = "https://git.vulgarisons.info/raghnarok/hugo_idunn/src/branch/master/LICENSE"
|
||||||
description = "Simple Hugo theme, inspired from Terrassa but way simplier"
|
description = "Simple Hugo theme, inspired from Terrassa but way simplier"
|
||||||
|
|
Loading…
Reference in a new issue