Do not eval global variables at call

This commit is contained in:
Marcus Kammer 2023-07-19 10:16:55 +02:00
parent 24b0c1175e
commit c95066742b

View file

@ -99,11 +99,11 @@ Additional content can be added to the header by passing it as BODY arguments
to the macro. The BODY content will be included in the header after the to the macro. The BODY content will be included in the header after the
predefined content." predefined content."
`(spinneret:with-html `(spinneret:with-html
(:header (collapsible ,*navbar-header-id* (:header (collapsible *navbar-header-id*
,@body) ,@body)
(navbar (:fluid nil) (navbar (:fluid nil)
(brand () "Album") (brand () "Album")
(toggler ,*navbar-header-id*))))) (toggler *navbar-header-id*)))))
(defmacro footer ((&key (color '(:text :body-secondary)) (defmacro footer ((&key (color '(:text :body-secondary))
(spacing '(:property :p :size 5))) &body body) (spacing '(:property :p :size 5))) &body body)