Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/vanilla-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Betz <zwbetz@gmail.com>2019-01-24 05:25:29 +0300
committerZachary Betz <zwbetz@gmail.com>2019-01-24 05:25:29 +0300
commit358aed95c65274de72c3737730e56c00ccc1fb24 (patch)
tree7bf955688b3472d52281bc2c357c4423ed427e56 /layouts
parent9b4976aeb1d68d26c377da791b071b23f0d075b3 (diff)
Config option to hide footer
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index df6a059..203d7bd 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,5 +1,7 @@
+{{ if ne .Site.Params.hideFooter true }}
<footer id="footer" class="mt-auto text-center text-muted">
<div class="container">
{{ .Site.Params.footerText | markdownify }}
</div>
-</footer> \ No newline at end of file
+</footer>
+{{ end }} \ No newline at end of file