fix/not-deploying-hugo-v159 #9

Merged
Vezpi merged 22 commits from fix/not-deploying-hugo-v159 into preview 2026-04-03 10:02:12 +02:00
Showing only changes of commit f4012a3391 - Show all commits

View File

@@ -47,13 +47,13 @@
{{ end }}
</div>
{{- $date := .Date.Format "20060102" | int -}}
{{- $lastmod := .Lastmod.Format "20060102" | int -}}
{{- $date := $Page.Date.Format "20060102" | int -}}
{{- $lastmod := $Page.Lastmod.Format "20060102" | int -}}
{{- if gt $lastmod $date -}}
<div class="article-lastmod">
{{ partial "helper/icon" "refresh" }}
<time>
{{ T "article.lastUpdatedOn" }} {{ .Lastmod | time.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
{{ T "article.lastUpdatedOn" }} {{ $Page.Lastmod | time.Format ( or $Page.Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
</time>
</div>
{{- end -}}