diff --git a/layouts/partials/date.html b/layouts/partials/date.html index 7110274..9d9615e 100644 --- a/layouts/partials/date.html +++ b/layouts/partials/date.html @@ -1,4 +1,4 @@ -{{ if not .Date.IsZero }} +{{ if and (not .Date.IsZero) (not .Params.hideDate) (not .Site.Params.hideDate) }} {{ $publishString := .Scratch.Get "beforeDateString" }} {{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}} {{ $pubdate := .Date.Format $singlePageDateFormat }}