gmgauthier.com/layouts/post/post.html

18 lines
346 B
HTML

{{ partial "header.html" . }}
<div class="header" style="background-color: whitesmoke; color: #065387">
<h1>{{ .Title }}</h1>
</div>
<div class="content">
{{ range .Data.Pages.GroupByDate "2006" }}
<h2>{{ .Key }}</h2>
<ul>
{{ range .Pages }}
{{ .Render "li" }}
{{ end }}
</ul>
{{ end }}
</div>
{{ partial "footer.html" . }}