diff options
author | Vivek R <vividvilla@gmail.com> | 2019-10-10 14:49:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-10 14:49:09 +0300 |
commit | 6e5bf0c053c93be02982d1d265b468b853ecae30 (patch) | |
tree | cf9eceef93254513dddc258b4b0fa5ef6088cb6a | |
parent | be412d7167b230321aa1ecab53f9b2eae8999975 (diff) | |
parent | a09b1d9585fb02d2feed582f7f9ccf4f7cb8f324 (diff) |
Merge pull request #17 from cgiacomi/feature/copyright
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> |