Compare commits

...

2 commits

Author SHA1 Message Date
5ce37bf67e Rename the theme in theme.toml 2024-10-14 15:41:21 +02:00
3fe049c683 Remove pagination 2024-10-14 15:40:56 +02:00
3 changed files with 3 additions and 5 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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"