diff --git a/layouts/partials/content-details.html b/layouts/partials/content-details.html
index 717c40a..c47aed0 100644
--- a/layouts/partials/content-details.html
+++ b/layouts/partials/content-details.html
@@ -1,4 +1,4 @@
- {{ if .Params.date }}
+ {{ if not .Date.IsZero }}
{{ .Date.Format "2006-01-02" }}
{{ end }}