Allow optional sxml for the head section in page.

This commit is contained in:
Alex Shinn 2015-05-20 21:23:12 +09:00
parent f255c35695
commit 9f565d77c5

View file

@ -220,7 +220,7 @@
(define (fail msg . args) (define (fail msg . args)
`(span (@ (style . "background:red")) ,msg ,@args)) `(span (@ (style . "background:red")) ,msg ,@args))
(define (page body) (define (page body . o)
`(html `(html
(head (head
(title "Snow") (title "Snow")
@ -229,7 +229,8 @@
(rel . "stylesheet") (rel . "stylesheet")
(href . "/s/snow.css"))) (href . "/s/snow.css")))
(link (@ (rel . "shortcut icon") (link (@ (rel . "shortcut icon")
(href . "/s/favicon.ico")))) (href . "/s/favicon.ico")))
,@o)
(body (body
(div (@ (id . "head")) (div (@ (id . "head"))
(div (@ (id . "head_pic")) "☃") (div (@ (id . "head_pic")) "☃")