This problem was noted on Zen theme five years ago: https://www.drupal.org/node/1601118 and eventually fixed in Zen. It has not been reported as a defect on Core where it also occurs and core themes have the problem, but although Core Bartik has the problem the responsive version does not.
The theme will not validate until fixed. The link it inserts is very slow and causes SEO issues as it is usually reported as a bad link. It probably make all page loads slower (needs a before and after test).
The fix is very simple:
override html.tpl.php with a fixed version in your custom. Delete one line from base version in /bootstrap/system/html.tpl.php
<head>
<link rel="profile" href="<?php print $grddl_profile; ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">delete the link line
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | bootstrap-profile_meta_data-2889488-7.patch | 500 bytes | jainaman23 |
Comments
Comment #2
yktdan commentedComment #3
yktdan commentedComment #4
jainaman23 commentedHTML5 base specification dropped the profile attribute from the HEAD element.
Ref1: https://dev.w3.org/html5/profiles/drafts/ED-html5-profiles-20100522/
Comment #5
jainaman23 commentedComment #6
yktdan commentedThe change has been running on www.nynjtc.org for about a week and causes no problems.
Comment #7
markhalliwellThe profile isn't on the
HEADelement. It's added as a separateLINKelement for backwards compatibility. In fact, we've already done some work on this in the above related issue.I'm tempted to mark as "Closed (won't fix)' since this can be done in a sub-theme if you really need/want this desired change.
I need clearer proof that we can safely remove this line without affecting existing sites.
Comment #8
yktdan commentedI just ran a demo test of bootstrap D8, and the headers are: (It does not have the link after the so D* doesn't need it for campatibility.)
Welcome to bootstrap 8.x-3.5 | bootstrap 8.x-3.5
Comment #9
yktdan commentedforgot to wrap in code
Comment #10
markhalliwellThis isn't about the 8.x code (which has different RDF applications). This about the code in 7.x-3.x, which will affect thousands of sites.
Comment #11
markhalliwellMy comment in #7 still stands.