diff options
author | Markus Bukowski <mrbuk@users.noreply.github.com> | 2017-07-03 19:14:24 +0300 |
---|---|---|
committer | Zhe Zhang <neomana@gmail.com> | 2017-07-12 02:57:22 +0300 |
commit | 77e7b0ef54200704e72859497df012d6bcd1ffe5 (patch) | |
tree | c8d800a003c4fafda77ce1a46c2d97fb2c641b2c | |
parent | b8808919e2a4e9af655a7b595ddbb673ef0950a8 (diff) |
Custom FooterMSG not working
Changed way that the FooterMsg is being checked for existence.
-rw-r--r-- | layouts/partials/footer.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index f2d0326..13e08b8 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,5 @@ <div class="footer"> - {{ if isset .Site.Params "FooterMsg" }} + {{ if .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> |