Site structure
Version 5.x > Site structure > HTML5 doctype not 'cascading' to every page View modes: 
User avatar
Member
Member
mark87dotcom - 9/12/2011 12:49:43 PM
   
HTML5 doctype not 'cascading' to every page
I have a master template page that declares the HTML5 doctype. My question: some of the pages that inherit from the master template have the new doctype, and some of the pages that inherit from the master template do not have the new doctype. Why could this be?

Example:

www.mysite.com/a.aspx (new doctype)
www.mysite.com/b.aspx (new doctype)
www.mysite.com/a/x.aspx (old doctype)

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 9/13/2011 9:28:33 AM
   
RE:HTML5 doctype not 'cascading' to every page
Hello,

What version of Kentico CMS are you running? Any hotfixes?

What are particular inheritance settings for your page templates? Do you use just one or multiple templates?

There were some issues with page template inheritance: http://devnet.kentico.com/Blogs/Juraj-Ondrus/September-2011/New-Hotfix-5-5R2-39-(build-no--4268)-Released.aspx, I would recommend you to apply the latest hotfix and test it afterwards.

Best regards
Ondrej Vasil