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

github.com/siegerts/hugo-theme-basic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Siegert <stephen.siegert@sas.com>2019-03-14 22:37:51 +0300
committerStephen Siegert <stephen.siegert@sas.com>2019-03-14 22:37:51 +0300
commit9440409dd566a53519bd0039141a31c3826ede73 (patch)
tree355e49f4cf7213a87745078f596d6f7f0ca06fea
parentac601df8249cedf7f78ef34c7a0161efb3ca800c (diff)
modify .Site.Copyright var to allow safeHTML for link, rss, etc additions
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/footer.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 1b41513..ffe6f3b 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -4,7 +4,7 @@ theme ="hugo-theme-basic"
languageCode = "en-us"
googleAnalytics = "UA-XXXXXXXXX-X"
enableEmoji = true
-copyright = "© 2016-19 Hugo Theme Basic"
+copyright = "© 2016-19 <a href='https://github.com/siegerts/hugo-theme-basic'>Hugo Theme Basic</a>. Made by <a href='https://twitter.com/siegerts'>@siegerts</a>."
description = "Basic personal site theme styled with minimal tachyons, syntax highlighting, and blog series configuration."
[taxonomies]
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index c425fec..b326096 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,7 +1,7 @@
<footer>
<div>
<p class="f6 gray mt6 lh-copy">
- {{ .Site.Copyright }}
+ {{ .Site.Copyright | safeHTML }}
</p>
</div>
</footer>