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>
|
||||
</header>
|
||||
<ul class="articles-list">
|
||||
{{- range .Paginator.Pages -}}
|
||||
{{- range .Pages.ByTitle -}}
|
||||
{{- .Render "li" -}}
|
||||
{{- end -}}
|
||||
</ul>
|
||||
</article>
|
||||
{{ .Content }}
|
||||
{{ partial "pagination.html" . }}
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
|
|
|
@ -11,12 +11,11 @@
|
|||
</h1>
|
||||
</header>
|
||||
<ul class="articles-list">
|
||||
{{- range .Paginator.Pages -}}
|
||||
{{- range .Pages.ByDate.Reverse -}}
|
||||
{{- .Render "li" -}}
|
||||
{{- end -}}
|
||||
</ul>
|
||||
</article>
|
||||
{{ partial "pagination.html" . }}
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Iðunn"
|
||||
name = "Snotra"
|
||||
license = "MIT"
|
||||
licenselink = "https://git.vulgarisons.info/raghnarok/hugo_idunn/src/branch/master/LICENSE"
|
||||
description = "Simple Hugo theme, inspired from Terrassa but way simplier"
|
||||
|
|
Loading…
Reference in a new issue