Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How come the Doctype is xhtml, and not "!DOCTYPE html" for html5?
Just wondering if I am missing something, or if I have to make it html5 myself, or...?
this is a real sweet theme by the way. I have wanted to use Neat for along time, and am pretty excited to find someone using it in a Drupal theme.
Comment | File | Size | Author |
---|---|---|---|
#1 | basic-html5-1963264-1.patch | 2.65 KB | joelpittet |
Comments
Comment #1
joelpittetGood point, I think it's partially because of RDF. Though the other themes and d8 have opted for the html5 doctype, some have made workarounds if RDF is turned on. I tried to take the best of both world, so here's a patch.
@Stevek, just say the word and i'll commit it;)
Any questions/concerns welcome.
Comment #2
SteveK CreditAttribution: SteveK commentedThanks. Applied the patch :)
Comment #3
CatherineOmega CreditAttribution: CatherineOmega commentedAm I misreading where
$language
comes from in template.php? We have to declareglobal $language
along with$user
, otherwise we get this:Patch forthcoming.
Comment #4
joelpittetOh yeah totally, good catch @CatherineOmega!
Comment #4.0
joelpittetput doctype html in quotes