diff options
author | Stephen Siegert <stephen.siegert@sas.com> | 2019-03-14 22:37:51 +0300 |
---|---|---|
committer | Stephen Siegert <stephen.siegert@sas.com> | 2019-03-14 22:37:51 +0300 |
commit | 9440409dd566a53519bd0039141a31c3826ede73 (patch) | |
tree | 355e49f4cf7213a87745078f596d6f7f0ca06fea | |
parent | ac601df8249cedf7f78ef34c7a0161efb3ca800c (diff) |
modify .Site.Copyright var to allow safeHTML for link, rss, etc additions
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 |
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> |