From 9b47909de2aae98697467fc362a506a114c66db3 Mon Sep 17 00:00:00 2001
From: Carlo Corti <araknoid@gmail.com>
Date: Fri, 01 Jan 2021 17:21:45 +0000
Subject: [PATCH] Added the possibility to configure the copyright years

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

diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 8595ef3..22afa5d 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -18,6 +18,6 @@
         {{ end }}
     </ul>
     <div class="footer">
-        <div class="by_farbox">&copy; {{ .Site.Params.author }} {{ now.Format "2006"}} </div>
+        <div class="by_farbox">&copy; {{ .Site.Params.author }} {{ if isset .Site.Params "copyright" }} {{ .Site.Params.copyright }} {{ else }} {{ now.Format "2006"}} {{end}}</div>
     </div>
 </div>

--
Gitblit v1.10.0