Skip to content

Commit

Permalink
Custom FooterMSG not working
Browse files Browse the repository at this point in the history
Changed way that the FooterMsg is being checked for existence.
  • Loading branch information
mrbuk authored and zhe committed Jul 11, 2017
1 parent b880891 commit 77e7b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit 77e7b0e

Please # to comment.