Merge pull request #17 from cgiacomi/feature/copyright

feat: add copyright option
This commit is contained in:
Vivek R 2019-10-10 17:19:09 +05:30 committed by GitHub
commit 3bceb9f94e
3 changed files with 5 additions and 1 deletions

View File

@ -39,6 +39,8 @@ languageCode = "en-us"
title = "My personal blog"
theme = "ezhil"
copyright = "© Copyright notice"
# Enable syntax highlighting.
pygmentsstyle = "vs"
pygmentscodefences = true

View File

@ -4,6 +4,8 @@ title = "Ezhil"
theme = "ezhil"
paginate = 5
copyright = "© Copyright notice"
pygmentsstyle = "vs"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true

View File

@ -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>