From 7795c90f6fa106733267481d9ed0518b00f2c62c Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 31 Oct 2023 21:34:19 +0530 Subject: [PATCH] Add `safeHTML` to post_meta - delimit now returns a string and not a template.HTML from hugo v0.120.0 - no impact found with min req version for Papermod https://github.com/gohugoio/hugo/releases/tag/v0.120.0 fixes #1325 --- layouts/partials/post_meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 8bc0e505e6..b0c0417ee5 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -19,5 +19,5 @@ {{- end }} {{- with ($scratch.Get "meta") }} -{{- delimit . " · " -}} +{{- delimit . " · " | safeHTML -}} {{- end -}}