{{ define "main" }} {{ $lastmodstr := (partial "date.html" (dict "date" .Lastmod "language" $.Page.Language "format" "long")) }} {{ $datestr := (partial "date.html" (dict "date" .Date "language" $.Page.Language "format" "long")) }} {{ if (and .Params.thumbnail (not (or .Site.Params.hidePageThumbnail .Params.hidePageThumbnail)) ) }}