diff options
| author | Ariel Costas <94913521+arielcostas@users.noreply.github.com> | 2024-02-02 23:49:23 +0100 |
|---|---|---|
| committer | Ariel Costas <94913521+arielcostas@users.noreply.github.com> | 2024-02-02 23:49:23 +0100 |
| commit | c7f8158cb95cf2f0a5d95036a725f7d74f9b0067 (patch) | |
| tree | 856883d732281841596bfb6bc3cd7c2e306cd8d4 /layouts | |
| parent | bf0e37f94d9f75327bdadc8ec2f1f935536c07be (diff) | |
Make dates monospaced
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/home/list.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/home/list.html b/layouts/home/list.html index af3dbeb..4389e28 100644 --- a/layouts/home/list.html +++ b/layouts/home/list.html @@ -10,7 +10,10 @@ <ul> {{ range .Pages }} - <li>{{ .PublishDate.Format "02/01" }} <a href="{{ .RelPermalink }}">{{ .Title }}</a></li> + <li> + <time datetime="{{ .PublishDate.Format " 2006-01-02T15:04:05-07:00"}}">{{ .PublishDate.Format "02/01" }}</time> + <a href="{{ .RelPermalink }}">{{ .Title }}</a> + </li> {{ end }} </ul> {{ end }} |
