Switch from xhtml to plain html.

Since that's the new way, according to Sam at least.
This commit is contained in:
Eli Barzilay 2013-09-28 15:48:11 -04:00 committed by Matthew Flatt
parent 12e70d8c66
commit d67cc5b094

View File

@ -94,12 +94,13 @@
[(#f) (div class: 'bodycontent content0)]
[else (div class: 'bodycontent style: @list{width: @|width|@";"}
content0)])))
@xhtml{@||
@head
@(if body-attrs
(apply body `(,@body-attrs ,content))
(body content))
@||})
@list{@doctype['html]
@html{@||
@head
@(if body-attrs
(apply body `(,@body-attrs ,content))
(body content))
@||}})
(define this (and (not html-only?)
(resource/referrer (get-path 'page id file "html" dir)
(file-writer output-xml page)