From d69c5cfef32e74dc61f020068bbfc15ec45fe0a7 Mon Sep 17 00:00:00 2001
From: Jan Baudisch <dev@baudisch.xyz>
Date: Thu, 10 May 2018 00:06:16 +0000
Subject: [PATCH] Update footer to be optional (#20)

---
 layouts/partials/footer.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index f674f1d..6dcae25 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,5 +1,5 @@
 <footer class="footer">
   <section class="container">
-    © {{ .Site.LastChange.Format "2006" }} · Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
+    {{ if not .Site.Params.hideCopyright }} © {{ .Site.LastChange.Format "2006" }} {{ end }} {{ if not .Site.Params.hideCredits}} {{ if not .Site.Params.hideCopyright }} · {{ end }} Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>. {{ end }}
   </section>
 </footer>

--
Gitblit v1.10.0