refactor: move default parameter values from template logic to params.toml (#1244)

This commit is contained in:
Jimmy
2026-01-26 15:50:18 +01:00
committed by GitHub
parent 3b753c9cc0
commit 3a03d69502
11 changed files with 33 additions and 27 deletions
@@ -12,7 +12,7 @@
<section class="article-lastmod">
{{ partial "helper/icon" "clock" }}
<span>
{{ T "article.lastUpdatedOn" }} {{ .Lastmod | time.Format ( or .Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
{{ T "article.lastUpdatedOn" }} {{ .Lastmod | time.Format .Site.Params.dateFormat.lastUpdated }}
</span>
</section>
{{- end -}}