Replace when with if
This commit is contained in:
parent
78f5cf26b0
commit
0891eb08ef
1 changed files with 5 additions and 5 deletions
|
@ -137,14 +137,14 @@ Example usage:
|
||||||
(:link :type "text/css" :rel "stylesheet" :href ,(bs-css-url))
|
(:link :type "text/css" :rel "stylesheet" :href ,(bs-css-url))
|
||||||
,@(loop for url in add-css-urls
|
,@(loop for url in add-css-urls
|
||||||
collect `(:link :type "text/css"
|
collect `(:link :type "text/css"
|
||||||
: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
|
||||||
collect `(:script :src ,url))))))
|
collect `(:script :src ,url))))))
|
||||||
|
|
||||||
(defun remove-special-chars (str)
|
(defun remove-special-chars (str)
|
||||||
"Removes all special characters from the string STR except numbers and alphabets.
|
"Removes all special characters from the string STR except numbers and alphabets.
|
||||||
|
|
Loading…
Add table
Reference in a new issue