[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
1 changed files with 1 additions and 1 deletions

View File

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