aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAriel Costas <94913521+arielcostas@users.noreply.github.com>2024-02-02 23:49:23 +0100
committerAriel Costas <94913521+arielcostas@users.noreply.github.com>2024-02-02 23:49:23 +0100
commitc7f8158cb95cf2f0a5d95036a725f7d74f9b0067 (patch)
tree856883d732281841596bfb6bc3cd7c2e306cd8d4 /layouts
parentbf0e37f94d9f75327bdadc8ec2f1f935536c07be (diff)
Make dates monospaced
Diffstat (limited to 'layouts')
-rw-r--r--layouts/home/list.html5
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 }}