Replace when with if

This commit is contained in:
Marcus Kammer 2024-03-30 17:46:36 +01:00
parent 78f5cf26b0
commit 0891eb08ef

View file

@ -140,7 +140,7 @@ Example usage:
:rel "stylesheet" :href ,url))) :rel "stylesheet" :href ,url)))
(:body (:h1 :class "visually-hidden" ,title) (:body (:h1 :class "visually-hidden" ,title)
(:main ,@(when main-con (list :class "container")) ,@body) (:main ,@(if main-con (list :class "container") nil) ,@body)
(:script :src ,(bs-js-url)) (:script :src ,(bs-js-url))
,@(loop for url in add-js-urls ,@(loop for url in add-js-urls