From d69c5cfef32e74dc61f020068bbfc15ec45fe0a7 Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Thu, 10 May 2018 02:06:16 +0200 Subject: [PATCH] Update footer to be optional (#20) * Update footer to be optional * Update example with optional footer * Update README with optional footer --- README.md | 4 ++++ exampleSite/config.toml | 3 +++ layouts/partials/footer.html | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 71c178c..1101111 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ theme = "coder" # set the theme info = "Full Stack DevOps and Magician" # author's job title or info description = "John Doe's personal website" # site description keywords = "blog,developer,personal" # site keywords + + # wether you want to hide copyright and credits in the footer + hideCredits = false + hideCopyright = false # Social links [[params.social]] diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 35e3e00..58488e0 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -20,6 +20,9 @@ disqusShortname = "yourdiscussshortname" keywords = "blog,developer,personal" info = "Full Stack DevOps and Magician" + hideCredits = false + hideCopyright = false + [[params.social]] name = "Github" weight = 1 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 @@