mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-08 05:27:35 +02:00
Allow optional sxml for the head section in page.
This commit is contained in:
parent
f255c35695
commit
9f565d77c5
1 changed files with 3 additions and 2 deletions
|
@ -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")) "☃")
|
||||
|
|
Loading…
Add table
Reference in a new issue