aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/shortcodes')
-rw-r--r--themes/default/layouts/shortcodes/disclose.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/themes/default/layouts/shortcodes/disclose.html b/themes/default/layouts/shortcodes/disclose.html
index 2cc99c7..c5e7c2c 100644
--- a/themes/default/layouts/shortcodes/disclose.html
+++ b/themes/default/layouts/shortcodes/disclose.html
@@ -4,7 +4,9 @@
{{- $text = .Inner -}}
{{- end -}}
-<details data-disclosure>
- <summary>{{ (or $.Page.Params.title $text) | markdownify }}</summary>
+<details data-disclosure="">
+ <summary>
+ {{ (or $.Page.Params.title $text) | markdownify }}
+ </summary>
</details>
{{- /* This comment removes trailing newlines and white spaces. */ -}}