refactors layouts for head, footer and post

This commit is contained in:
Huy Tran 2018-07-27 08:41:33 +10:00
parent e8e4ba4c3b
commit e980cbedc8
21 changed files with 93 additions and 61 deletions

View file

@ -0,0 +1,6 @@
<span class="section__title">{{ .Title }}</span>
<ul class="posts">
{{- with .Data.Pages -}}
{{ partial "posts-list.html" . }}
{{- end }}
</ul>