From fbd42af6ca17abf1e01349d7c581ec399202f4c0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 22 Oct 2017 14:53:06 +0300 Subject: [PATCH] Reduce whitespace liquid outputs. (#24470) --- _includes/docs-sidebar.html | 4 ++-- _includes/header.html | 4 ++-- _includes/scripts.html | 16 ++++++++-------- _layouts/default.html | 8 ++++---- docs/4.0/utilities/screenreaders.md | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/_includes/docs-sidebar.html b/_includes/docs-sidebar.html index 24c1a8b2aa..34a5989a4b 100644 --- a/_includes/docs-sidebar.html +++ b/_includes/docs-sidebar.html @@ -36,7 +36,7 @@ {{ doc.title }} - {% comment %} + {%- comment -%} {% unless doc.sections == nil %} {% endunless %} - {% endcomment %} + {%- endcomment -%} {%- endfor -%} diff --git a/_includes/header.html b/_includes/header.html index 048867bddf..7c7a3a6437 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -12,9 +12,9 @@ {% if site.github %} - + {% else %} - + {% endif %} diff --git a/_includes/scripts.html b/_includes/scripts.html index 0af5f5c695..98ba3b41ff 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -3,25 +3,25 @@ -{% if site.github %} +{%- if site.github -%} -{% else %} +{%- else -%} -{% endif %} +{%- endif -%} -{% if site.github %} +{%- if site.github -%} -{% else %} +{%- else -%} -{% endif %} +{%- endif -%} -{% if page.layout == "docs" %} +{%- if page.layout == "docs" -%} -{% endif %} +{%- endif -%}