From: XhmikosR Date: Sun, 22 Oct 2017 11:53:06 +0000 (+0300) Subject: Reduce whitespace liquid outputs. (#24470) X-Git-Tag: v4.0.0-beta.3~210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd42af6ca17abf1e01349d7c581ec399202f4c0;p=thirdparty%2Fbootstrap.git Reduce whitespace liquid outputs. (#24470) --- 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 -%}