Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defmacro render-page (page)
- `(format nil
- (with-html-string
- (:doctype
- (:html
- (:head
- ,@(loop for header-item in (access page :head)
- collect header-item))
- (:body
- ,@(loop for body-item in (access page :body)
- collect body-item)))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement