blog/themes/beautifulhugo/layouts/partials/page_meta.html

9 lines
304 B
HTML
Raw Permalink Normal View History

2022-06-25 08:56:31 +01:00
<div class="page-meta">
{{ $lastmodstr := default (i18n "dateFormat") .Site.Params.dateformat | .Lastmod.Format }}
{{ $datestr := default (i18n "dateFormat") .Site.Params.dateformat | .Date.Format }}
{{ if ne $datestr $lastmodstr }}
{{ $lastmodstr | i18n "lastModified" }}
{{ end }}
</div>