Allow overriding the site global copyright with page local params (#810)

This is useful when certain sub pages may have a different copyright
than the entire rest of the site.
This commit is contained in:
Levente Polyak
2026-04-08 13:39:43 +02:00
committed by GitHub
parent 4f0e89c4ed
commit 97d7ee40ed
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
<small>{{ .Site.Title }} - {{ .Site.Copyright | .RenderString }}</small>
<small>{{ .Site.Title }} - {{ default .Site.Copyright .Params.Copyright | .RenderString }}</small>