diff options
author | Zhe Zhang <neomana@gmail.com> | 2016-06-20 18:25:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-20 18:25:24 +0300 |
commit | b7a1645cccdeb3ca63dcd593bfd20a856ce102f0 (patch) | |
tree | 1e428e6afc5d5c4745b4c066ee334b9c9ae71c80 | |
parent | 8780f8e82275fd708d684377f9de6c37f2192ab0 (diff) | |
parent | b2725e76d55aba9989e41bb03bcf180765131ed2 (diff) |
Merge pull request #8 from jostyee/patch-1
Allow FooterMsg to use HTML
-rw-r--r-- | layouts/partials/footer.html | 4 |
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}} |