diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 88826a4..2ee0854 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,7 +7,7 @@ {{- if .Date -}} {{- partial "post-date" . -}} - {{- if .Lastmod -}} + {{- if and $.Site.Params.showLastUpdated .Lastmod -}} {{- partial "post-lastmod" . -}} {{- end -}}