Update use of cdn
This commit is contained in:
parent
26658c5106
commit
0e6f92e321
1 changed files with 3 additions and 3 deletions
|
@ -177,8 +177,8 @@ Example usage:
|
|||
(:p :class ,(format nil "lead ~a" (if color (apply #'color color)))
|
||||
,@body)))
|
||||
|
||||
(defmacro page (title)
|
||||
`(with-page (:cdn t :title ,title)
|
||||
(defmacro page (title cdn)
|
||||
`(with-page (:cdn ,cdn :title ,title)
|
||||
(navigation
|
||||
(col (:breakpoint (:kind :col :sm (8 nil) :md (7 nil))
|
||||
:spacing (:property :p :side :y :size 4))
|
||||
|
@ -198,6 +198,6 @@ Example usage:
|
|||
(spinneret:*html-style* style)
|
||||
(spinneret:*fill-column* fc))
|
||||
(write-string-to-file filepath
|
||||
(with-html-string (page "Album")))))
|
||||
(with-html-string (page "Album" t)))))
|
||||
|
||||
; (cl-sbt/album:write-page "~/quicklisp/local-projects/cl-sbt/public/examples/album.html")
|
||||
|
|
Loading…
Add table
Reference in a new issue