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

View file

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

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