templates/inlinepage.tmpl: Use HTML5 by default and simplify the code.