diff options
author | Christian Giacomi <cgia@dr.dk> | 2019-10-10 14:01:45 +0300 |
---|---|---|
committer | Christian Giacomi <cgia@dr.dk> | 2019-10-10 14:01:45 +0300 |
commit | a09b1d9585fb02d2feed582f7f9ccf4f7cb8f324 (patch) | |
tree | f51706e1eb3b3bfb7f5b40d4ed23a5017e4a137d | |
parent | 1a6e76206c4e5af8f7b75ab8e6f2fa5c77d408c0 (diff) |
feat: add copyright option
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -39,6 +39,8 @@ languageCode = "en-us" title = "My personal blog" theme = "ezhil" +copyright = "© Copyright notice" + # Enable syntax highlighting. pygmentsstyle = "vs" pygmentscodefences = true diff --git a/exampleSite/config.toml b/exampleSite/config.toml index a930a6e..6eb3bc5 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -4,6 +4,8 @@ title = "Ezhil" theme = "ezhil" paginate = 5 +copyright = "© Copyright notice" + pygmentsstyle = "vs" pygmentscodefences = true pygmentscodefencesguesssyntax = true diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b3f1539..52d25ba 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,6 +1,6 @@ <div class="footer wrapper"> <nav class="nav"> - <div><a href="https://github.com/vividvilla/ezhil">Ezhil theme</a> | Built with <a href="https://gohugo.io">Hugo</a></div> + <div>{{ with .Site.Copyright }} {{ . }} | {{ end }} <a href="https://github.com/vividvilla/ezhil">Ezhil theme</a> | Built with <a href="https://gohugo.io">Hugo</a></div> </nav> </div> |