summaryrefslogtreecommitdiffstats
path: root/layouts/partials/sidebar.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r--layouts/partials/sidebar.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index d9f64e1..57bca9d 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -23,8 +23,12 @@
<div class="sidebar-item">
<p>
- Built with <a href="https://github.com/sergeyklay/gohugo-theme-ed" target="_blank">Ed.</a>
+ {{- with site.Params.footer }}
+ {{ . | safeHTML }}
+ {{- else }}
+ Built with <a href="https://github.com/sergeyklay/gohugo-theme-ed" target="_blank" rel="noopener noreferrer">Ed.</a>
Distributed under an MIT license.
+ {{- end }}
</p>
</div>
</aside>