Allow config.yaml to modify the site copyright

This commit is contained in:
Jason Tipton 2020-06-29 14:17:26 -08:00
parent 4dc1b6c76c
commit 079dc4ed52
3 changed files with 7 additions and 1 deletions

View file

@ -71,6 +71,9 @@ enableEmoji: true
# Custom parameters
params:
# copyright
copyright: © 2020 Copyright.
# background image of the landing page
background: "images/background.jpg"

View file

@ -20,6 +20,9 @@ enableEmoji: true
# Custom parameters
params:
# copyright
copyright: © 2020 Copyright.
# background image of the landing page
background: "images/background.jpg"

View file

@ -54,7 +54,7 @@
Toha
</a>
</div>
<div class="col-md-4">© 2020 Copyright.</div>
<div class="col-md-4">{{ if .Site.Params.copyright }}{{ .Site.Params.copyright }}{{ else }}© 2020 Copyright.{{ end }}</div>
<div class="col-md-4">
Powered by <a href="https://gohugo.io/">Hugo
<img