mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-14 15:09:23 +00:00
Implement accordion shortcode
This commit is contained in:
2 files changed
+43
No files matched your search
@@ -0,0 +1,6 @@
|
||||
{{ $id := delimit (slice "accordion" (partial "functions/uid.html" .)) "-" }}
|
||||
{{ $mode := .Get "mode" | default "collapse" }}
|
||||
|
||||
<div id="{{ $id }}" class="space-y-2" data-accordion="{{ $mode }}">
|
||||
{{- .Inner -}}
|
||||
</div>
|
||||
Reference in new issue
Block a user