Table of Contents

<#doctype>

This tag gives the HTML <!DOCTYPE> Declaration of the current page

Cfgpages configuration

The doctype declaration is taken from the cfgpages. If for exemple the cfgpages contain the node

  <page name='/'>
    <cfg>  
      <doctype>&lt;!DOCTYPE html&gt;</doctype>
    </cfg>
  </pages>

the result of <#doctype> for the page ”/” will be <!DOCTYPE html>

Default

if cfgpages does not contain the node doctype for the current page then this default value will be returned :

  <!DOCTYPE html>

Example

<#doctype>

will return

<!DOCTYPE html>