summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/collapse.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/collapse.html')
-rw-r--r--layouts/shortcodes/collapse.html8
1 files changed, 0 insertions, 8 deletions
diff --git a/layouts/shortcodes/collapse.html b/layouts/shortcodes/collapse.html
deleted file mode 100644
index 17d8d3b..0000000
--- a/layouts/shortcodes/collapse.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{ if .Get "summary" }}
-{{ else }}
-{{ warnf "missing value for param 'summary': %s" .Position }}
-{{ end }}
-<p><details {{ if (eq (.Get "openByDefault") true) }} open=true {{ end }}>
- <summary markdown="span">{{ .Get "summary" | markdownify }}</summary>
- {{ .Inner | markdownify }}
-</details></p>