display list before content in list view
This commit is contained in:
parent
b03eeec186
commit
725478234e
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue