Some more fuckery with post listing

This commit is contained in:
Nox Sluijtman 2022-09-27 23:04:06 +02:00
parent f5c6b310c1
commit 04e10eb676
3 changed files with 10 additions and 11 deletions

View file

@ -2,12 +2,8 @@
{{ if eq .Type $.Site.Params.contentTypeName }}
<div class="post-meta">
{{ if .Params.Date }}
<span>
<span class="post-date">
{{ .Date.Format "2006-01-02" }}
{{ if $.Site.Params.showLastUpdated }}
[{{or $.Site.Params.updatedDatePrefix "Updated"}}: {{ .Lastmod.Format "2006-01-02" }}]
{{ end }}
</span>
{{ end }}