[SHORTCODE] Allow css class in details shortcode

This commit is contained in:
Gregory Trolliet 2020-05-22 17:51:03 +02:00
parent 79fe88673c
commit 6e2d65ff63

View file

@ -1,3 +1,3 @@
<details><summary>{{ .Get "title" }}</summary>
<details {{ with .Get "class" }} class="{{ . }}"{{ end }}><summary>{{ .Get "title" }}</summary>
{{ .Inner }}
</details>