From 7b4f19f1cde544f78f83971bfa5d72b3b0156327 Mon Sep 17 00:00:00 2001
From: Naata <Naata@users.noreply.github.com>
Date: Sun, 12 May 2019 23:41:26 +0000
Subject: [PATCH] use safeHTML in footer (#181)
---
layouts/partials/footer.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index cd5f833..a5f42df 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,6 @@
<footer class="footer">
<section class="container">
- {{ with .Site.Params.footercontent }}
+ {{ with .Site.Params.footercontent | safeHTML }}
<p>{{.}}</p>
{{ end }}
{{ if not .Site.Params.hideCopyright }} © {{ now.Format "2006" }}{{ end }}
--
Gitblit v1.10.0