feat: add copyright option

This commit is contained in:
Christian Giacomi 2019-10-10 13:01:45 +02:00
parent c749a34b03
commit ab2a6bb5d3
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>