From 94b76900e9c2c381dd418152182f851b1693b295 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 17 Oct 2021 21:45:21 -0400 Subject: add date suffix to articles --- themes/hugo-pt2021/layouts/articles/list.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'themes') diff --git a/themes/hugo-pt2021/layouts/articles/list.html b/themes/hugo-pt2021/layouts/articles/list.html index f9c747b..9fa82df 100644 --- a/themes/hugo-pt2021/layouts/articles/list.html +++ b/themes/hugo-pt2021/layouts/articles/list.html @@ -23,6 +23,17 @@ > {{- .Title -}} + + {{- if .Date -}} + - + + {{- .Date.Format "January 2, 2006" -}} + + {{- end -}} {{- else -}}
  • No articles.
  • -- cgit v1.2.3