Add layout for post

This commit is contained in:
Philipp Oppermann
2016-02-14 15:31:24 +01:00
parent fc6653d780
commit 840ed0097a

12
layouts/post/single.html Normal file
View File

@@ -0,0 +1,12 @@
{{ partial "header.html" . }}
<article class="post">
<h1 class="post-title">{{ .Title }}</h1>
<time datetime="{{ .Date.Format "2006-01-02" }}" class="post-date">
{{ .Date.Format .Site.Params.date_format }}
</time>
{{ .Content }}
</article>
{{ partial "footer.html" . }}