From c87c9adecea4133b646dea43c2aa75b0b04d5074 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Tue, 31 Oct 2023 09:19:58 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Pass=20article=20meta=20to=20`sa?= =?UTF-8?q?feHTML`=20to=20type=20hint=20for=20`delimit`=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #689 --- CHANGELOG.md | 4 ++++ layouts/partials/article-meta.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 000fa108..4c238adf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Fixed + +- Article metadata HTML is output as text when using Hugo v0.120.0 ([#689](https://github.com/jpanther/congo/pull/689)) + ## [2.7.2] - 2023-10-26 ### Changed diff --git a/layouts/partials/article-meta.html b/layouts/partials/article-meta.html index 82838515..37175396 100644 --- a/layouts/partials/article-meta.html +++ b/layouts/partials/article-meta.html @@ -36,7 +36,7 @@
{{/* Output partials */}} {{ with ($meta.Get "partials") }} - {{ delimit . "·" }} + {{ delimit . "·" | safeHTML }} {{ end }} {{/* Output draft label */}}