Compare commits

..

2 Commits

Author SHA1 Message Date
Wolf Noble 915f62ddb8
Merge 984bb01c79 into c87c9adece 2023-10-31 09:48:47 +11:00
James Panther c87c9adece
🐛 Pass article meta to `safeHTML` to type hint for `delimit` function
Fixes #689
2023-10-31 09:19:58 +11:00
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased] ## [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 ## [2.7.2] - 2023-10-26
### Changed ### Changed

View File

@ -36,7 +36,7 @@
<div class="flex flex-row flex-wrap items-center"> <div class="flex flex-row flex-wrap items-center">
{{/* Output partials */}} {{/* Output partials */}}
{{ with ($meta.Get "partials") }} {{ with ($meta.Get "partials") }}
{{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" }} {{ delimit . "<span class=\"px-2 text-primary-500\">&middot;</span>" | safeHTML }}
{{ end }} {{ end }}
{{/* Output draft label */}} {{/* Output draft label */}}