From 5d5c688c7cb81c5819bf1cc5a8794132be3ba8da Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Mon, 28 Sep 2020 10:06:04 -0700 Subject: [PATCH] Set doctype html on all pages (#15779) --- includes/head.html | 1 + layouts/default.html | 1 + layouts/product-landing.html | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/head.html b/includes/head.html index 30c08fbd81de..3eba2d16102b 100644 --- a/includes/head.html +++ b/includes/head.html @@ -1,4 +1,5 @@ + {% if error == '404' %}{{ site.data.ui.errors.oops }}{% elsif currentVersion == 'homepage' %}GitHub Documentation{% else %}{{ page.fullTitle }}{% endif %} {% if page.hidden %} {% endif %} diff --git a/layouts/default.html b/layouts/default.html index 3981947a257b..cbb745a516a2 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -1,3 +1,4 @@ + {% include head %} diff --git a/layouts/product-landing.html b/layouts/product-landing.html index a4823ec06d6f..5bd1189b1ab1 100644 --- a/layouts/product-landing.html +++ b/layouts/product-landing.html @@ -1,9 +1,10 @@ + {% include head %} {% include sidebar %} - +
{% include header %}