aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2023-01-03 18:06:10 +0300
committerCem Keylan <cem@ckyln.com>2023-01-03 18:06:10 +0300
commitcf62b73c75b338f46f1242a3077a0e15adde9332 (patch)
tree0a4e7623710d5b9a4bed9e8678621d017b002ec2 /layouts
parent32e4a48981221a0254822bc7e6330ca6d89e9838 (diff)
downloadwebsite-cf62b73c75b338f46f1242a3077a0e15adde9332.tar.gz
fix date formatting for blog posts on the index page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/page/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/page/index.html b/layouts/page/index.html
index f71927f..3aa7497 100644
--- a/layouts/page/index.html
+++ b/layouts/page/index.html
@@ -4,7 +4,7 @@
<h3>Latest Blog Posts</h3>
<ul>
{{ range first 3 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }}
- <li>{{.Date.Format "2006-02-01"}} | <a href="{{.Permalink}}">{{.Title}}</a></li>
+ <li>{{.Date.Format "2006-01-02"}} | <a href="{{.Permalink}}">{{.Title}}</a></li>
{{ end }}
</ul>
<hr>