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,16 @@
<article>
<header>
<h1>{{ .Title }}</h1>
{{ with .Params.subtitle }}
<span class="post__subtitle">
{{.}}
</span>
{{ end }}
{{ partial "page-single/post-meta-top.html" . }}
</header>
<div class="post">
{{ .Content }}
</div>
{{ partial "page-single/post-meta-bottom.html" . }}
{{ partial "page-single/post-related.html" . }}
</article>