diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2022-01-03 20:41:21 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2022-01-03 20:41:21 +0000 |
commit | 47932676235b90cdf033c31fdc62d52cfed7f168 (patch) | |
tree | c65c014cf22074049801f5616cfd40c7cf7cd12c /layouts | |
parent | f4b565e1221c6efe22b89b23c018a0b7215181ff (diff) |
better stuff with templates
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/blog/li.html (renamed from layouts/_default/li.html) | 2 | ||||
-rw-r--r-- | layouts/blog/single.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/li.html b/layouts/blog/li.html index b5939f5..cb44e71 100644 --- a/layouts/_default/li.html +++ b/layouts/blog/li.html @@ -19,6 +19,6 @@ <span id="vim-category">[{{ lower .Params.Category }}]</span> {{ end }} {{ end }} - <small><time>{{ .Date.Format "2 Jan 2006" }}</time></small> + <small><time>{{ .Date.Format "2 Jan, 2006" }}</time></small> </a> </li> diff --git a/layouts/blog/single.html b/layouts/blog/single.html index a89da2b..698be33 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -5,9 +5,9 @@ <div> {{- if isset .Params "date" -}} {{ if eq .Lastmod .Date }} - <time>{{ .Date.Format "Monday 2 Jan 2006" }}</time> + <time>{{ .Date.Format "Monday 2 Jan, 2006" }}</time> {{ else }} - Updated <time>{{ .Lastmod.Format "January 2, 2006" }}</time> + Updated <time>{{ .Lastmod.Format "Monday 2 Jan, 2006" }}</time> {{ end }} {{- end -}} </div> |