display list before content in list view

This commit is contained in:
la Fleur 2020-11-16 14:56:07 +01:00
parent b03eeec186
commit 725478234e
1 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,5 @@
{{ define "main" }}
<main>
{{ with .Content }}
<section>
{{ . }}
</section>
{{ end }}
<ul>
{{ range .Pages }}
<li>
@ -12,5 +7,10 @@
</li>
{{ end }}
</ul>
{{ with .Content }}
<section>
{{ . }}
</section>
{{ end }}
</main>
{{ end }}