From 4a676a26d23b15c16d55ae18580f3c88ec152a08 Mon Sep 17 00:00:00 2001 From: Evgeny Kuznetsov Date: Mon, 16 Mar 2020 21:53:06 +0300 Subject: [PATCH] add .Site.Params.since .Site.Params.since is an option to store the year site development started: (c) 2019 - 2020 --- exampleSite/config.toml | 1 + layouts/partials/sidebar/copyright.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 05db08a..5565cd3 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -24,6 +24,7 @@ theme = "hyde-hyde" # sidebar, copyright & license copyright = "htr3n" + since = 2019 license = "CC BY-SA 4.0" licenseURL = "https://creativecommons.org/licenses/by-sa/4.0" showBuiltWith = true diff --git a/layouts/partials/sidebar/copyright.html b/layouts/partials/sidebar/copyright.html index e9227d8..b3c4d0c 100644 --- a/layouts/partials/sidebar/copyright.html +++ b/layouts/partials/sidebar/copyright.html @@ -1,6 +1,6 @@ {{ with .Site.Params.copyright }}