Fix trimming of HTML doctype in html.ftl
wip: remove page module and enhance html module instead
wip
wip