Compare commits

..

No commits in common. "5ce37bf67e0c9653dddf6dfd0e567b8c1d308948" and "1377cd916bf5253c3d9e8d22d4e0a128562dc4f1" have entirely different histories.

3 changed files with 5 additions and 3 deletions

View file

@ -15,12 +15,13 @@
</h1> </h1>
</header> </header>
<ul class="articles-list"> <ul class="articles-list">
{{- range .Pages.ByTitle -}} {{- range .Paginator.Pages -}}
{{- .Render "li" -}} {{- .Render "li" -}}
{{- end -}} {{- end -}}
</ul> </ul>
</article> </article>
{{ .Content }} {{ .Content }}
{{ partial "pagination.html" . }}
</section> </section>
</main> </main>
</body> </body>

View file

@ -11,11 +11,12 @@
</h1> </h1>
</header> </header>
<ul class="articles-list"> <ul class="articles-list">
{{- range .Pages.ByDate.Reverse -}} {{- range .Paginator.Pages -}}
{{- .Render "li" -}} {{- .Render "li" -}}
{{- end -}} {{- end -}}
</ul> </ul>
</article> </article>
{{ partial "pagination.html" . }}
</section> </section>
</main> </main>
</body> </body>

View file

@ -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 = "Snotra" name = "Iðunn"
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"