Remove pagination

This commit is contained in:
Gregory Trolliet 2024-10-14 15:40:56 +02:00
parent 1377cd916b
commit 3fe049c683
2 changed files with 2 additions and 4 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>