{{ $_hugo_config := `{ "version": 1 }` }} {{/* Parameters: - type (string, verplicht/nuttig): bepaalt CSS-class, bijv: "added", "changed", "security" - label (string, optioneel): tekst in de badge; default = type | title-case - title (string, optioneel): tekst naast de badge als header; default = label - open (string, optioneel): "true" of "false" -> standaard dicht, "true" = start open - class (string, optioneel): extra class op .accordion - header-class (string, optioneel): extra class op header button - body-class (string, optioneel): extra class op content */}} {{ $type := .Get "type" | default (.Get 0) }} {{ $label := .Get "label" | default ($type | title) }} {{ $title := .Get "title" | default $label }} {{ $openParam := .Get "open" | default "false" }} {{ $class := .Get "class" }} {{ $headerClass := .Get "header-class" }} {{ $bodyClass := .Get "body-class" }} {{ $isOpen := eq (lower $openParam) "true" }}
{{ .Inner | markdownify }}