This tag gives the HTML <!DOCTYPE> Declaration of the current page
The doctype declaration is taken from the cfgpages. If for exemple the cfgpages contain the node
<page name='/'> <cfg> <doctype><!DOCTYPE html></doctype> </cfg> </pages>
the result of <#doctype> for the page ”/” will be <!DOCTYPE html>
if cfgpages does not contain the node doctype for the current page then this default value will be returned :
<!DOCTYPE html>
<#doctype>
will return
<!DOCTYPE html>