aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..379bdc5
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,9 @@
+{{ define "main" }}
+<article>
+ <h1>{{ .Title }}</h1>
+ <div><time>{{ dateFormat ":date_medium" .Date }}</time></div>
+ {{ .Content }}
+</article>
+<hr style="border-bottom: dotted 1px; border-top: none;" >
+<footer>Back to <a href="/Posts">Posts<a></footer>
+{{ end }} \ No newline at end of file