diff --git a/exampleSite/config.toml b/exampleSite/config.toml index a04083e..aae609d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -6,6 +6,7 @@ theme = "light-hugo" title = "Light Hugo" author = "John Doe" +copyright = "© Copyright 2016 John Doe" [Params] description = "Describe your website" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b901dd4..4429c6e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -9,5 +9,10 @@ Top {{ partial "foot.html" . }} + {{ if .Site.Copyright }} +
+ {{ .Site.Copyright }} +
+ {{ end }}