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:
-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}}