diff options
Diffstat (limited to 'themes/xmin/layouts/_default/single.html')
-rw-r--r-- | themes/xmin/layouts/_default/single.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/xmin/layouts/_default/single.html b/themes/xmin/layouts/_default/single.html new file mode 100644 index 0000000..de3f121 --- /dev/null +++ b/themes/xmin/layouts/_default/single.html | |||
@@ -0,0 +1,12 @@ | |||
1 | {{ partial "header.html" . }} | ||
2 | <div class="article-meta"> | ||
3 | <h1><span class="title">{{ .Title | markdownify }}</span></h1> | ||
4 | {{ with .Params.author }}<h2 class="author">{{ . }}</h2>{{ end }} | ||
5 | {{ if (gt .Params.date 0) }}<h2 class="date">{{ .Date.Format "2006/01/02" }}</h2>{{ end }} | ||
6 | </div> | ||
7 | |||
8 | <main> | ||
9 | {{ .Content }} | ||
10 | </main> | ||
11 | |||
12 | {{ partial "footer.html" . }} | ||