feat: allow footer copyright to be different to the site title (#839)
* Allow copyright to be different to the site title * Add copyright to exampleSite
This commit is contained in:
parent
13568d8ff0
commit
51e0ec7f99
@ -3,6 +3,7 @@ languageCode: en-us
|
||||
theme: hugo-theme-stack
|
||||
paginate: 5
|
||||
title: Example Site
|
||||
copyright: Example Person
|
||||
|
||||
languages:
|
||||
en:
|
||||
|
@ -5,7 +5,7 @@
|
||||
{{ if and (.Site.Params.footer.since) (ne .Site.Params.footer.since (int (now.Format "2006"))) }}
|
||||
{{ .Site.Params.footer.since }} -
|
||||
{{ end }}
|
||||
{{ now.Format "2006" }} {{ .Site.Title }}
|
||||
{{ now.Format "2006" }} {{ default .Site.Title .Site.Copyright }}
|
||||
</section>
|
||||
|
||||
<section class="powerby">
|
||||
|
Loading…
Reference in New Issue
Block a user