summaryrefslogtreecommitdiffstats
path: root/layouts/blog
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2022-01-03 17:07:30 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2022-01-03 17:07:30 +0000
commit7f46b080d055dbfac3a2ccce97fd6310908fe503 (patch)
tree0634c9bcbea7047fb922ddade9bb73f5ff3d12c1 /layouts/blog
parent8cd4abcae743c6c3f185c029d75a2aff3f0eca7c (diff)
changed date format
Diffstat (limited to 'layouts/blog')
-rw-r--r--layouts/blog/single.html3
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 }}