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

github.com/zhe/hugo-theme-slim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhe Zhang <neomana@gmail.com>2016-06-20 18:25:24 +0300
committerGitHub <noreply@github.com>2016-06-20 18:25:24 +0300
commitb7a1645cccdeb3ca63dcd593bfd20a856ce102f0 (patch)
tree1e428e6afc5d5c4745b4c066ee334b9c9ae71c80
parent8780f8e82275fd708d684377f9de6c37f2192ab0 (diff)
parentb2725e76d55aba9989e41bb03bcf180765131ed2 (diff)
Merge pull request #8 from jostyee/patch-1
Allow FooterMsg to use HTML
-rw-r--r--layouts/partials/footer.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 73f1af3..f2d0326 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,6 @@
<div class="footer">
- {{if isset .Site.Params "FooterMsg"}}
- <p>{{.Site.Params.FooterMsg}}</p>
+ {{ if isset .Site.Params "FooterMsg" }}
+ <p>{{ .Site.Params.FooterMsg | safeHTML }}</p>
{{else}}
<p>Powered by <a href="http://gohugo.io">Hugo</a>. This theme—Slim—is open sourced on <a href="https://github.com/zhe/hugo-theme-slim">Github</a>.</p>
{{end}}