aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-04-06 12:28:53 -0700
committerFranck Cuny <franck@fcuny.net>2021-04-06 12:28:53 -0700
commit1d400395b26b5697628189e0a38f6e0d50b9e06c (patch)
tree875b0362963778c755957040325dfec783fcf406
parentlayout: clean up empty space (diff)
downloadfcuny.net-1d400395b26b5697628189e0a38f6e0d50b9e06c.tar.gz
layout: fix format for the date
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 5f49f24..450444b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -15,7 +15,7 @@
{{ $section := "notes" }}
<ul>
{{ range (where .Site.RegularPages.ByTitle "Section" $section ) }}
- <li><a href="{{ .Permalink }}">{{ .Params.title | humanize | title }} ({{ .Date.Format "2021-01" }})</a></li>
+ <li><a href="{{ .Permalink }}">{{ .Params.title | humanize | title }} ({{ .Date.Format "2006-01-02" }})</a></li>
{{ end }}
</ul>