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