From f80ee05824dbd304af3f55efbc34c9bef6bf7201 Mon Sep 17 00:00:00 2001 From: Nina Zakharenko Date: Tue, 17 Apr 2018 15:28:58 -0700 Subject: [PATCH] Parameterize the copyright line and the credits footer. Add option to display current year in copyright --- exampleSite/config.toml | 8 ++++++++ layouts/partials/footer.html | 12 ++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9cfa5da1e..9104c12e5 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -54,6 +54,14 @@ disqusShortname = "bilberry-hugo-theme" # always display the top navigation (with pages and search) on non-mobile screens permanentTopNav = false + # credits line configuration + copyrightBy = "by Lednerb" + copyrightUseCurrentYear = false # set to true to always display the current year in the copyright + copyrightYearOverride = "2017" + copyrightUrl = "https://github.com/Lednerb" + creditsText = "Bilberry Hugo Theme" + creditsUrl = "https://github.com/Lednerb/bilberry-hugo-theme" + # social media profile urls for the footer links facebook = "" twitter = "https://twitter.com/TheRealLednerb" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 7e4602fc4..a723ec78e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -62,10 +62,18 @@