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

github.com/thomasheller/crab.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsb <banerjee.soumyadipta@gmail.com>2017-08-17 02:34:20 +0300
committersb <banerjee.soumyadipta@gmail.com>2017-08-17 02:34:20 +0300
commit1f9bb71efac1da75cd4a12b8f9c563a62b7d41c0 (patch)
tree024140f914e6f8e4d9ff913b675a2c64c9c0d102
parentfe46e5aefd9aa8f2b6274aa5d1d88edc716edac0 (diff)
Addedcustom copyright message.
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/footer.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 52530e1..3062229 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -6,6 +6,7 @@ baseurl = "https://example.com"
[params]
description = "A clean Hugo theme for websites"
# logoimage = "images/logo.jpg"
+# copyright = "foo"
[permalinks]
blog = "/blog/:year/:month/:title/"
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e6f943e..b52e90c 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -3,7 +3,7 @@
</div>
<div id="footer">
- Copyright {{ now.Year }} {{ .Site.Title }}
+ Copyright {{ now.Year }} {{ $.Site.Params.copyright }}
</div>
</div>