fix showLastUpdate #503

This commit is contained in:
panr 2024-11-22 19:19:48 +01:00
parent c779a70834
commit b09f47aae7

View file

@ -7,7 +7,7 @@
{{- if .Date -}} {{- if .Date -}}
<time class="post-date"> <time class="post-date">
{{- partial "post-date" . -}} {{- partial "post-date" . -}}
{{- if .Lastmod -}} {{- if and $.Site.Params.showLastUpdated .Lastmod -}}
&nbsp;{{- partial "post-lastmod" . -}} &nbsp;{{- partial "post-lastmod" . -}}
{{- end -}} {{- end -}}
</time> </time>