Dont enforce title on with-page
This commit is contained in:
parent
b170989812
commit
6df66dca08
1 changed files with 1 additions and 3 deletions
|
@ -69,9 +69,7 @@
|
|||
(with-open-file (stream filename :direction :output :if-exists :supersede)
|
||||
(write-string string stream))))
|
||||
|
||||
(defmacro with-page ((&key meta title main-con add-css-urls add-js-urls) &body body)
|
||||
(unless title
|
||||
(error "A page needs a title. Please add a title."))
|
||||
(defmacro with-page ((&key meta (title "Web page") main-con add-css-urls add-js-urls) &body body)
|
||||
`(spinneret:with-html
|
||||
(:doctype)
|
||||
(:html :data-bs-theme ,*color-theme*
|
||||
|
|
Loading…
Add table
Reference in a new issue