Jump to content

HTML Doctype not showing


Liam88
 Share

Recommended Posts

Hey all,

Hoping someone may be able to advise why.

I noticed recently that my doctype is not rendering when checking in inspect element.

This is only happening on certain sub pages like blog whilst shows on home.

I have it within my main doc with all other needed bits, but this just isn't showing.

Thank you in advance.

image.png.648fdad344129db98ddd452c54d4e66b.pngimage.png.178353bde98a9ecdca8e203677935591.png

Link to comment
Share on other sites

On 10/28/2020 at 9:31 PM, louisstephens said:

Just curious, how are your other templates set up (like blog etc etc)? I take it you are appending the _main.php to your other templates?

Hey, yes all the same setup. it's a wierd one as it never used to flag up with this before. 

Link to comment
Share on other sites

  • 4 months later...

I'm having the same issue. 

I'm declaring the doctype but it will not output to browser. I was searching everywhere until this post came up on Google. Maybe it's a ProcessWire issue? 

I can't get TinyMCE working because of it on my front-end.

EDIT:
It's because debugging was turned on and an error was being output before the doctype was declared. 

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...