Update html for accordion
This commit is contained in:
parent
176cea492b
commit
b9237658e3
1 changed files with 8 additions and 1 deletions
|
@ -111,5 +111,12 @@ Example:
|
|||
:id ,id
|
||||
,@(loop for (title . content) in body
|
||||
collect `(:div :class "accordion-item"
|
||||
(:h5 :class "accordion-header" ,title)
|
||||
(:h2 :class "accordion-header"
|
||||
(:button :class "accordion-button"
|
||||
:type "button"
|
||||
:data-bs-toggle "collapse"
|
||||
:data-bs-target "#collapseOne"
|
||||
:aria-expanded "true"
|
||||
:aria-controls "collapseOne"
|
||||
,title))
|
||||
(:div :class "accordion-body" ,content)))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue