Browse Source

feat: add copyright option

main
Christian Giacomi 2 years ago
parent
commit
a09b1d9585
3 changed files with 5 additions and 1 deletions
  1. +2
    -0
      README.md
  2. +2
    -0
      exampleSite/config.toml
  3. +1
    -1
      layouts/partials/footer.html

+ 2
- 0
README.md 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


+ 2
- 0
exampleSite/config.toml View File

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


+ 1
- 1
layouts/partials/footer.html 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>


Loading…
Cancel
Save