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)))
|
(:p :class ,(format nil "lead ~a" (if color (apply #'color color)))
|
||||||
,@body)))
|
,@body)))
|
||||||
|
|
||||||
(defmacro page (title)
|
(defmacro page (title cdn)
|
||||||
`(with-page (:cdn t :title ,title)
|
`(with-page (:cdn ,cdn :title ,title)
|
||||||
(navigation
|
(navigation
|
||||||
(col (:breakpoint (:kind :col :sm (8 nil) :md (7 nil))
|
(col (:breakpoint (:kind :col :sm (8 nil) :md (7 nil))
|
||||||
:spacing (:property :p :side :y :size 4))
|
:spacing (:property :p :side :y :size 4))
|
||||||
|
@ -198,6 +198,6 @@ Example usage:
|
||||||
(spinneret:*html-style* style)
|
(spinneret:*html-style* style)
|
||||||
(spinneret:*fill-column* fc))
|
(spinneret:*fill-column* fc))
|
||||||
(write-string-to-file filepath
|
(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")
|
; (cl-sbt/album:write-page "~/quicklisp/local-projects/cl-sbt/public/examples/album.html")
|
||||||
|
|
Loading…
Add table
Reference in a new issue