diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2022-01-03 14:15:14 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2022-01-03 14:15:14 +0000 |
commit | 8cb6a3007590117228191d89052c9c2a6277ee7c (patch) | |
tree | 1ee3f2a6ae0854a6409bb1666e5bfe232726130a /layouts/blog | |
parent | c44108b021903aaf5dfb32ac081d570c713b169e (diff) |
added blank home page template and updated copyright year
Diffstat (limited to 'layouts/blog')
-rw-r--r-- | layouts/blog/single.html | 17 |
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 }} |