Unless title throw an error

This commit is contained in:
Marcus Kammer 2024-01-26 18:03:23 +01:00
parent 1fb5193d46
commit cbd4f59747

View file

@ -70,6 +70,8 @@
(write-string string stream))))
(defmacro with-page ((&key meta title add-css-urls add-js-urls) &body body)
(unless title
(error "Please add a title"))
`(spinneret:with-html
(:doctype)
(:html :data-bs-theme ,*color-theme*