diff options
author | inexist3nce <inexist3nce@users.noreply.github.com> | 2016-02-25 04:35:45 +0300 |
---|---|---|
committer | inexist3nce <inexist3nce@users.noreply.github.com> | 2016-02-25 04:35:45 +0300 |
commit | 33c9f574b94c9c860896c4882dc6a03a72bf50ab (patch) | |
tree | 873985eaa3b5370292a594525c626e991ec16000 | |
parent | a491cb0d5d01970c83d81cd58cb204091d085ee3 (diff) |
Allow custom footer messages
-rw-r--r-- | layouts/partials/footer.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b186f8c..73f1af3 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,7 @@ <div class="footer"> + {{if isset .Site.Params "FooterMsg"}} + <p>{{.Site.Params.FooterMsg}}</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}} </div> |