From 968b7023922b260d13b3add23ca0c8a375247c26 Mon Sep 17 00:00:00 2001 From: Hstar <374593759@qq.com> Date: Tue, 14 Dec 2021 14:23:27 +0800 Subject: [PATCH] subtitle Support for HTML syntax Support for HTML syntax to avoid escaping by Go templates --- layouts/partials/sidebar/left.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/sidebar/left.html b/layouts/partials/sidebar/left.html index db05480..8f7b0e7 100644 --- a/layouts/partials/sidebar/left.html +++ b/layouts/partials/sidebar/left.html @@ -31,7 +31,7 @@ {{ end }}

{{ .Site.Title }}

-

{{ .Site.Params.sidebar.subtitle }}

+

{{ .Site.Params.sidebar.subtitle | safeHTML }}

{{- with .Site.Menus.social -}}