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