From f10f4d41652f19fd49ff1612da79c8ba43165d9c Mon Sep 17 00:00:00 2001
From: Giacomo Tenaglia <g.t@cern.ch>
Date: Mon, 30 Dec 2019 17:36:11 +0000
Subject: [PATCH] Use Hugo's built in Site Config for copyright according to PR #199 (#240)

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

diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html
index d014f77..41c0629 100755
--- a/layouts/partials/site-footer.html
+++ b/layouts/partials/site-footer.html
@@ -1,7 +1,7 @@
 <footer class="{{ .Site.Params.background_color_class | default "bg-black" }} bottom-0 w-100 pa3" role="contentinfo">
   <div class="flex justify-between">
   <a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="{{ .Site.BaseURL }}" >
-    &copy; {{ now.Format "2006" }} {{ .Site.Title }}
+    &copy; {{ with .Site.Copyright | default .Site.Title }} {{ . | safeHTML }} {{ now.Format "2006"}} {{ end }}
   </a>
     <div>{{ partial "social-follow.html" . }}</div>
   </div>

--
Gitblit v1.10.0