fix: in inline-meta div
All checks were successful
Blog Test / Check-Rebuild (push) Successful in 7s
Blog Test / Build (push) Successful in 11s
Blog Test / Deploy-Test (push) Successful in 12s
Blog Test / Test (push) Successful in 3s

This commit is contained in:
2026-04-02 19:13:33 +00:00
parent f4012a3391
commit d9b0e43a9a

View File

@@ -45,18 +45,19 @@
{{ T "article.readingTime" $Page.ReadingTime }}
</time>
{{ end }}
{{- $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" }} {{ $Page.Lastmod | time.Format ( or $Page.Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
</time>
</div>
{{- end -}}
</div>
{{- $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" }} {{ $Page.Lastmod | time.Format ( or $Page.Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
</time>
</div>
{{- end -}}
</footer>
{{ end }}
</div>