Enable textbody property for about
This commit is contained in:
parent
979f8a5bb7
commit
796dff22ce
1 changed files with 3 additions and 2 deletions
|
@ -11,10 +11,11 @@
|
||||||
|
|
||||||
(defvar *navbar-header-id* "navbarHeader")
|
(defvar *navbar-header-id* "navbarHeader")
|
||||||
|
|
||||||
(defmacro about (&body body)
|
(defmacro about ((&key (textbody "secondary")) &body body)
|
||||||
`(spinneret:with-html
|
`(spinneret:with-html
|
||||||
(:h4 "About"
|
(:h4 "About"
|
||||||
(:p :class "text-body-secondary"
|
(:p :class ,(concatenate 'string
|
||||||
|
(if textbody (format nil "text-body-~a" textbody) ""))
|
||||||
,@body))))
|
,@body))))
|
||||||
|
|
||||||
(defmacro contact (&rest rest)
|
(defmacro contact (&rest rest)
|
||||||
|
|
Loading…
Add table
Reference in a new issue