We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 855828f commit 4545c09Copy full SHA for 4545c09
layouts/shortcodes/details-disclosure.html
@@ -1,8 +1,9 @@
1
{{ $summary := .Get "summary"}}
2
{{ $initial_state := .Get "initial_state"}}
3
+{{ $icon := .Get "icon"}}
4
5
<details {{ $initial_state }}>
- <summary>{{ $summary }}</summary>
6
+ <summary>{{ if .Get "icon_prefix" }}<i class="{{ $icon }}"></i> {{ end }}{{ $summary }}</summary>
7
8
{{ .Inner | markdownify }}
9
0 commit comments