aboutsummaryrefslogtreecommitdiff
path: root/themes/bare/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/bare/layouts/_default/single.html')
-rwxr-xr-xthemes/bare/layouts/_default/single.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/bare/layouts/_default/single.html b/themes/bare/layouts/_default/single.html
new file mode 100755
index 0000000..23a60a9
--- /dev/null
+++ b/themes/bare/layouts/_default/single.html
@@ -0,0 +1,20 @@
1{{ define "main" }}
2<main role="main">
3
4 <!-- Single article -->
5 <article itemtype="http://schema.org/Article">
6 <header>
7 <h1 itemtype="headline">{{ .Title }}</h1>
8
9 {{ if in .Type "posts" }}
10 <time>Published on {{ .Date.Format "Monday Jan 2, 2006" }}</time>
11 {{ end }}
12 </header>
13
14 <div>
15 {{.Content}}
16 </div>
17 </article>
18
19</main>
20{{ end }}