summaryrefslogtreecommitdiff
path: root/themes/plaintext/layouts/collections
diff options
context:
space:
mode:
Diffstat (limited to 'themes/plaintext/layouts/collections')
-rw-r--r--themes/plaintext/layouts/collections/single.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/themes/plaintext/layouts/collections/single.html b/themes/plaintext/layouts/collections/single.html
new file mode 100644
index 0000000..1833f68
--- /dev/null
+++ b/themes/plaintext/layouts/collections/single.html
@@ -0,0 +1,24 @@
+{{ define "main" }}
+
+<article class="article">
+ <h1 class="article--heading">* {{ .Title }}</h1>
+
+ {{ if .Params.toc }}
+ <div class="article--toc">
+ <h2>Table of Contents</h2>
+ {{ .TableOfContents }}
+ </div>
+
+ <hr />
+ {{ end }}
+
+ <div class="article--body">{{ .Content }}</div>
+</article>
+
+<hr />
+
+{{ with .GitInfo }}
+<p class="last-modified"><i>This page was last modified {{ .CommitDate.Format "15:04:05 02-01-2006"}}</i></p>
+{{ end }}
+
+{{ end }}