diff --git a/README.md b/README.md index 1026696..5215263 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,9 @@ enableEmoji: true # Custom parameters params: + # copyright + copyright: © 2020 Copyright. + # background image of the landing page background: "images/background.jpg" diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index f28da75..8132b96 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -20,6 +20,9 @@ enableEmoji: true # Custom parameters params: + # copyright + copyright: © 2020 Copyright. + # background image of the landing page background: "images/background.jpg" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 555e211..8c8649a 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -54,7 +54,7 @@ Toha -
© 2020 Copyright.
+
{{ if .Site.Params.copyright }}{{ .Site.Params.copyright }}{{ else }}© 2020 Copyright.{{ end }}
Powered by Hugo