From 5a10cb7e6c4c3036b4cc87806a7242d78fdca45d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Pannetier?= <35581688+clement-pannetier@users.noreply.github.com> Date: Thu, 2 Apr 2020 15:12:42 +0200 Subject: [PATCH] feature to fix issue #288 (#289) * fix for issue #288 * refactor some conditionnal statements * adding hideFooter parameter to exampleSite config --- exampleSite/config.toml | 1 + layouts/partials/footer.html | 46 +++++++++++++++++++----------------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 823c28a..a930053 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -26,6 +26,7 @@ disqusShortname = "yourdiscussshortname" dateformat = "January 2, 2006" + hideFooter = false hideCredits = false hideCopyright = false since = 2019 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 6c2d72c..b2048ee 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,24 +1,26 @@ - +{{ end }} \ No newline at end of file