
replace markdownify with .Page.RenderString, the latter trigger render hook properly see: https://gohugo.io/functions/markdownify/#readout > Note: if you need Render Hooks, which markdownify doesn’t currently support, use .RenderString instead.
5 lines
188 B
HTML
5 lines
188 B
HTML
<p><details {{ if (eq (.Get "openByDefault") true) }} open=true {{ end }}>
|
|
<summary markdown="span">{{ .Get 0 | markdownify }}</summary>
|
|
{{ .Page.RenderString .Inner }}
|
|
</details></p>
|