From 652becdaaaa09c6ee9cb0b8bcf4bec50d246dcaa Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 12 Mar 2021 19:36:17 +0100 Subject: Some more articles reformatting --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a82fe0d..aa27b23 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,7 @@

{{ .Title }}

-{{ .PublishDate.Format "2006-01-02" }} - {{ .Description }} +{{ if ne .PublishDate.Year 1 }}{{ .PublishDate.Format "2006-01-02" }} - {{ end }}{{ .Description }} {{ partial "toc.html" . }} -- cgit v1.2.3