Add content to list layout

pull/1/head
Kevin C. Coram 2019-11-19 19:16:20 -05:00
parent c8850cd4d2
commit 0fd2bcc49a
Signed by: kevin
GPG Key ID: 0342351B3D61AD35
1 changed files with 9 additions and 4 deletions

View File

@ -6,9 +6,14 @@
<main>
<div>
<h1 id="title">{{ .Title }}</h1>
{{ range .Pages }}
{{ .Render "summary"}}
{{ end }}
<div class="list-content">
{{ .Content }}
</div>
<div class="list-summary">
{{ range .Pages }}
{{ .Render "summary"}}
{{ end }}
</div>
</div>
</main>
{{ end }}
{{ end }}