Allow config.yaml to modify the site copyright (#18)
This commit is contained in:
parent
4dc1b6c76c
commit
45535cd290
3 changed files with 7 additions and 1 deletions
|
@ -71,6 +71,9 @@ enableEmoji: true
|
|||
|
||||
# Custom parameters
|
||||
params:
|
||||
# copyright
|
||||
copyright: © 2020 Copyright.
|
||||
|
||||
# background image of the landing page
|
||||
background: "images/background.jpg"
|
||||
|
||||
|
|
|
@ -20,6 +20,9 @@ enableEmoji: true
|
|||
|
||||
# Custom parameters
|
||||
params:
|
||||
# copyright
|
||||
copyright: © 2020 Copyright.
|
||||
|
||||
# background image of the landing page
|
||||
background: "images/background.jpg"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue