Allow config.yaml to modify the site copyright (#18)

This commit is contained in:
Jason Tipton 2020-06-29 19:40:42 -08:00 committed by GitHub
parent 4dc1b6c76c
commit 45535cd290
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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