refactors the layouts

This commit is contained in:
Huy Tran 2018-07-16 13:22:00 +10:00
parent cefd39e9a1
commit 05d11325ea
28 changed files with 394 additions and 116 deletions

View file

@ -0,0 +1,16 @@
<article>
<header>
<h1>{{ .Title }}</h1>
{{ with .Params.subtitle }}
<span class="post__subtitle">
{{.}}
</span>
{{ end }}
{{ partial "post-meta-before.html" . }}
</header>
<div class="post">
{{ .Content }}
</div>
{{ partial "post-meta-after.html" . }}
{{ partial "post-related.html" . }}
</article>