Update some shortcodes to use RenderString.

This commit is contained in:
Fredrik Jonsson 2022-05-27 09:37:08 +02:00
commit ef83bd634c

View file

@ -2,5 +2,5 @@
{{ $summary := .Get "summary" -}}
<details{{ with $class }} class="{{ . }}"{{ end }}>
{{ with $summary }}<summary>{{ . }}</summary>{{ end }}
{{ .Inner | markdownify }}
{{ .Inner | $.Page.RenderString (dict "display" "block") }}
</details>