From 102b3cb4dbc671fe59b0995271788c1969b43908 Mon Sep 17 00:00:00 2001 From: jtbx Date: Thu, 24 Jul 2025 10:36:11 +0200 Subject: [PATCH] Theme: Fix summary for v0.134.0 Hugo v0.134.0 changed the return value of the content summary to always be HTML instead of plain text. So we don't need the work around any more. --- themes/ccchh/layouts/_default/summary.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/themes/ccchh/layouts/_default/summary.html b/themes/ccchh/layouts/_default/summary.html index e37c9a6..80afafd 100644 --- a/themes/ccchh/layouts/_default/summary.html +++ b/themes/ccchh/layouts/_default/summary.html @@ -1,11 +1,7 @@
{{- partial "blog-header.html" (dict "headingLink" true "level" 2 "page" . ) }}
- {{- if in .RawContent " " }} {{ .Summary | safeHTML }} - {{- else }} -

{{ .Summary | safeHTML }}

- {{- end }} {{- if .Truncated }} {{- end }}