Removing RenderString from taxonomy and term bodys

This commit is contained in:
Fabrice Peraud 2025-01-03 09:23:09 +01:00 committed by Sören Weber
parent 0e1e9102f1
commit 1c45908fc9
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@
{{- $title := partial "title.gotmpl" (dict "page" .) }}
<h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
{{ partial "partials/shortcodes/taxonomy.html" (dict "page" . "taxonomy" .) | .RenderString }}
{{ partial "partials/shortcodes/taxonomy.html" (dict "page" . "taxonomy" .) }}
<footer class="footline">
</footer>

View file

@ -5,7 +5,7 @@
{{- $title := partial "title.gotmpl" (dict "page" .) }}
<h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
{{ partial "partials/shortcodes/term.html" (dict "page" . "term" .) | .RenderString }}
{{ partial "partials/shortcodes/term.html" (dict "page" . "term" .) }}
<footer class="footline">
</footer>