Pass Page Summary LinkTitle through the Markdown renderer

Allow markdown in link titles.
This commit is contained in:
Eryn Wells 2024-10-12 10:46:44 -07:00
parent edd6eb996b
commit c7b772e727

View file

@ -1,6 +1,6 @@
<article class="page-summary">
<header class="page-summary__heading">
<h2 class="page-summary__title"><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></h2>
<h2 class="page-summary__title"><a href="{{ .Permalink }}">{{ .LinkTitle | markdownify }}</a></h2>
</header>
{{ if (.Params.rendersSummary | default true) -}}
{{ with .Description }}