diff options
author | sb <banerjee.soumyadipta@gmail.com> | 2017-08-17 02:34:20 +0300 |
---|---|---|
committer | sb <banerjee.soumyadipta@gmail.com> | 2017-08-17 02:34:20 +0300 |
commit | 1f9bb71efac1da75cd4a12b8f9c563a62b7d41c0 (patch) | |
tree | 024140f914e6f8e4d9ff913b675a2c64c9c0d102 | |
parent | fe46e5aefd9aa8f2b6274aa5d1d88edc716edac0 (diff) |
Addedcustom copyright message.
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 52530e1..3062229 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -6,6 +6,7 @@ baseurl = "https://example.com" [params] description = "A clean Hugo theme for websites" # logoimage = "images/logo.jpg" +# copyright = "foo" [permalinks] blog = "/blog/:year/:month/:title/" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e6f943e..b52e90c 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,7 +3,7 @@ </div> <div id="footer"> - Copyright {{ now.Year }} {{ .Site.Title }} + Copyright {{ now.Year }} {{ $.Site.Params.copyright }} </div> </div> |