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:
authorMarkus Bukowski <mrbuk@users.noreply.github.com>2017-07-03 19:14:24 +0300
committerZhe Zhang <neomana@gmail.com>2017-07-12 02:57:22 +0300
commit77e7b0ef54200704e72859497df012d6bcd1ffe5 (patch)
treec8d800a003c4fafda77ce1a46c2d97fb2c641b2c
parentb8808919e2a4e9af655a7b595ddbb673ef0950a8 (diff)
Custom FooterMSG not working
Changed way that the FooterMsg is being checked for existence.
-rw-r--r--layouts/partials/footer.html2
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>