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