aboutsummaryrefslogtreecommitdiff
path: root/themes/bare/layouts/_default/single.html
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2022-12-20 20:33:57 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2022-12-20 20:33:57 +0100
commit1ac073cc30a23b68371e819c77422b4906dd4f20 (patch)
tree52469a6067a714dc93fb5a971ab620dd4a1c6c46 /themes/bare/layouts/_default/single.html
parent6342c2d1cc08bf6edb7f0ffdbdb69ce5b8be62dd (diff)
downloadmitjafelicijan.com-1ac073cc30a23b68371e819c77422b4906dd4f20.tar.gz
Move to bare theme.
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 }}