aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/details.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/details.html')
-rw-r--r--layouts/shortcodes/details.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/shortcodes/details.html b/layouts/shortcodes/details.html
index f6fff38..cc867aa 100644
--- a/layouts/shortcodes/details.html
+++ b/layouts/shortcodes/details.html
@@ -1,6 +1,7 @@
<details {{ if or (.Get "open") (in .Params "open") }}open{{ end }}>
- <summary>{{ cond .IsNamedParams (.Get "title") (.Get 0) }}</summary>
+ {{- $summary := cond .IsNamedParams (.Get "title") (.Get 0) -}}
+ <summary>{{ $summary | .Page.RenderString }}</summary>
<div class="markdown-inner">
- {{ .Inner | markdownify }}
+ {{ .Inner | .Page.RenderString }}
</div>
</details>