Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vividvilla/ezhil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Giacomi <cgia@dr.dk>2019-10-10 14:01:45 +0300
committerChristian Giacomi <cgia@dr.dk>2019-10-10 14:01:45 +0300
commita09b1d9585fb02d2feed582f7f9ccf4f7cb8f324 (patch)
treef51706e1eb3b3bfb7f5b40d4ed23a5017e4a137d
parent1a6e76206c4e5af8f7b75ab8e6f2fa5c77d408c0 (diff)
feat: add copyright option
-rw-r--r--README.md2
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/footer.html2
3 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 41bb39e..e9cc74a 100644
--- a/README.md
+++ b/README.md
@@ -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>