From c95066742b521fd91e39dc40174ac4f223b844d0 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Wed, 19 Jul 2023 10:16:55 +0200 Subject: [PATCH] Do not eval global variables at call --- examples/album.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/album.lisp b/examples/album.lisp index bc5a70c..40008ba 100644 --- a/examples/album.lisp +++ b/examples/album.lisp @@ -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 predefined content." `(spinneret:with-html - (:header (collapsible ,*navbar-header-id* + (:header (collapsible *navbar-header-id* ,@body) (navbar (:fluid nil) (brand () "Album") - (toggler ,*navbar-header-id*))))) + (toggler *navbar-header-id*))))) (defmacro footer ((&key (color '(:text :body-secondary)) (spacing '(:property :p :size 5))) &body body)