aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/micro/single.html
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-06 14:56:42 +0100
committerDennis Eriksen <d@ennis.no>2019-11-06 14:56:42 +0100
commitae72154594a25b5248581b5414ff62fcd5197c3b (patch)
tree8788bed867e4101914d2ca7c3f8d1b70d1b1cd3c /layouts/micro/single.html
parentfixing typo in license-link (diff)
downloadriker-ae72154594a25b5248581b5414ff62fcd5197c3b.tar.gz
testing out microblogging
Diffstat (limited to 'layouts/micro/single.html')
-rw-r--r--layouts/micro/single.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/micro/single.html b/layouts/micro/single.html
new file mode 100644
index 0000000..d091c16
--- /dev/null
+++ b/layouts/micro/single.html
@@ -0,0 +1,11 @@
+{{ partial "head" . }}
+<main>
+ <article>
+ <h1>{{ .Title }} LOL</h1>
+ <span class="single-date">{{ .Date.Format "January 2, 2006" }}</span>
+{{ if ne (.Lastmod.Format "January 2, 2006") (.Date.Format "January 2, 2006") }} <br><span class="single-date"><small>Last modified {{ .Lastmod.Format "January 2, 2006" }}</small></span>{{ end }}
+
+{{ .Content }}
+ </article>
+</main>
+{{ partial "footer" . }}