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:
authorinexist3nce <inexist3nce@users.noreply.github.com>2016-02-25 04:35:45 +0300
committerinexist3nce <inexist3nce@users.noreply.github.com>2016-02-25 04:35:45 +0300
commit33c9f574b94c9c860896c4882dc6a03a72bf50ab (patch)
tree873985eaa3b5370292a594525c626e991ec16000
parenta491cb0d5d01970c83d81cd58cb204091d085ee3 (diff)
Allow custom footer messages
-rw-r--r--layouts/partials/footer.html4
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>