Skip to content

Commit

Permalink
Removing RenderString from taxonomy and term bodys
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice Peraud authored and McShelby committed Jan 3, 2025
1 parent 0e1e910 commit 1c45908
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/bodys/taxonomy.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

{{- $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>
</article>
</article>
4 changes: 2 additions & 2 deletions layouts/partials/bodys/term.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

{{- $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>
</article>
</article>

0 comments on commit 1c45908

Please sign in to comment.