mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user