mirror of https://github.com/docker/docs.git
move "page generated" comment to prevent rendering in quirks mode
As described on https://en.wikipedia.org/wiki/Quirks_mode, a comment preceding the `<!DOCTYPE html>` can cause some browsers to render the HTML in quirks mode. This patch moves the comment after the doctype to prevent this. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
db82a1844d
commit
a7c4a6bdd9
|
@ -1,10 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Page generated {{ site.time }}
|
||||
{%- if page.edit_url -%}
|
||||
{%- assign edit_url = page.edit_url -%}
|
||||
{%- else -%}
|
||||
{%- assign edit_url = "https://github.com/docker/docker.github.io/edit/master/" | append: page.path -%}
|
||||
{%- endif -%} -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{%- include head.html -%}
|
||||
<body class="colums">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- Page generated {{ site.time }} -->
|
||||
<!DOCTYPE html>
|
||||
<!-- Page generated {{ site.time }} -->
|
||||
<html lang="en">
|
||||
{%- include head.html -%}
|
||||
<body id="landing" class="landing">
|
||||
|
|
Loading…
Reference in New Issue