diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2022-01-03 17:07:30 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2022-01-03 17:07:30 +0000 |
commit | 7f46b080d055dbfac3a2ccce97fd6310908fe503 (patch) | |
tree | 0634c9bcbea7047fb922ddade9bb73f5ff3d12c1 /layouts/blog | |
parent | 8cd4abcae743c6c3f185c029d75a2aff3f0eca7c (diff) |
changed date format
Diffstat (limited to 'layouts/blog')
-rw-r--r-- | layouts/blog/single.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html index cd92323..a89da2b 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -5,13 +5,14 @@ <div> {{- if isset .Params "date" -}} {{ if eq .Lastmod .Date }} - <time>{{ .Date.Format "2 January, 2006" }}</time> + <time>{{ .Date.Format "Monday 2 Jan 2006" }}</time> {{ else }} Updated <time>{{ .Lastmod.Format "January 2, 2006" }}</time> {{ end }} {{- end -}} </div> </header> + This is a {{ .Kind }}. {{- .Content -}} </article> {{ end }} |