From 61e8aa2a55dfb57c36d254d8ee9daca8753edcf1 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 11 Aug 2017 12:43:17 +0300 Subject: Fix HTML validation errors. --- _layouts/default.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '_layouts/default.html') diff --git a/_layouts/default.html b/_layouts/default.html index 0292da9fd..0b0c214a1 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -12,9 +12,13 @@ {% include docs-navbar.html %} -
+ {% if page.layout == "simple" %} {{ content }} -
+ {% else %} +
+ {{ content }} +
+ {% endif %} {% include footer.html %} {% include scripts.html %} -- cgit v1.2.3 From ee574b76a7274366a56b84b98f83e2b1b7b00122 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 3 Oct 2017 19:34:59 +0300 Subject: Switch to lowercase `doctype`. (#24217) Having it uppercase doesn't offer anything and the lowercase version slightly improves gzip compression. --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_layouts/default.html') diff --git a/_layouts/default.html b/_layouts/default.html index 0b0c214a1..0c800e2bb 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,4 +1,4 @@ - + {% include header.html %} -- cgit v1.2.3