Cannot set document doctype: stog chokes on <!DOCTYPE
Created by: mfp
Attempts to add a doctype to the template end up in errors like the following:
Computing level 0
Error when applying module base on level 0:
File "site/.stog/templates/page.tmpl", line 1, characters 1-3: Parse error: Unexpected characters: <!
That's the same error we get when using Xtmpl_xml.from_file
instead of Xtmpl_xml.doc_from_file
, so I'd guess stog is calling the wrong function (i.e., reading a tree list instead of a Xtmpl_xml.doc
) at some point.
stog 0.16.0 xtmpl 0.13.0