summaryrefslogtreecommitdiffstats
path: root/layouts/blog
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2022-01-03 14:15:14 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2022-01-03 14:15:14 +0000
commit8cb6a3007590117228191d89052c9c2a6277ee7c (patch)
tree1ee3f2a6ae0854a6409bb1666e5bfe232726130a /layouts/blog
parentc44108b021903aaf5dfb32ac081d570c713b169e (diff)
added blank home page template and updated copyright year
Diffstat (limited to 'layouts/blog')
-rw-r--r--layouts/blog/single.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
new file mode 100644
index 0000000..cd92323
--- /dev/null
+++ b/layouts/blog/single.html
@@ -0,0 +1,17 @@
+{{ define "main" }}
+<article>
+ <header id="post-header">
+ <h1>{{ .Title }}</h1>
+ <div>
+ {{- if isset .Params "date" -}}
+ {{ if eq .Lastmod .Date }}
+ <time>{{ .Date.Format "2 January, 2006" }}</time>
+ {{ else }}
+ Updated <time>{{ .Lastmod.Format "January 2, 2006" }}</time>
+ {{ end }}
+ {{- end -}}
+ </div>
+ </header>
+ {{- .Content -}}
+</article>
+{{ end }}