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:
+1
-1
@@ -71,7 +71,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ define "copyright" }}
|
||||
{{ if .Site.Copyright }}
|
||||
{{ if or .Site.Copyright .Params.Copyright }}
|
||||
<div class="book-copyright flex justify-center">
|
||||
{{ partial "docs/copyright" . }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user