diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <h1>{{ .Title }}</h1> -{{ .PublishDate.Format "2006-01-02" }} - {{ .Description }} +{{ if ne .PublishDate.Year 1 }}{{ .PublishDate.Format "2006-01-02" }} - {{ end }}{{ .Description }} {{ partial "toc.html" . }} |