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.
This commit is contained in:
jtbx 2025-07-24 10:36:11 +02:00
commit 33154e80d2

View file

@ -1,11 +1,7 @@
<article class="blog">
{{- partial "blog-header.html" (dict "headingLink" true "level" 2 "page" . ) }}
<section>
{{- if in .RawContent "<!--more--> " }}
{{ .Summary | safeHTML }}
{{- else }}
<p>{{ .Summary | safeHTML }}</p>
{{- end }}
{{- if .Truncated }}
<div class="morelink"><a href="{{ .RelPermalink }}">mehr...</a></div>
{{- end }}