From 07491fb98475487d88b2fb321c8e8ef10207073e Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 23 Jan 2014 12:23:17 +0200 Subject: [PATCH] Improve fix from 098369b33f694becf53fcdd9535c631e3f18a062. Remove extra newlines which aren't needed. --- _includes/header.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index 5c6d2b3..ef840ea 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -3,8 +3,8 @@ - {% if page.title %}{{ page.title | markdownify | strip_html }} - {% endif %}{{ site.title}} - {% if page.description %}{% endif %} + {% if page.title %}{{ page.title | markdownify | strip_html | strip_newlines }} - {% endif %}{{ site.title}} + {% if page.description %}{% endif %} @@ -19,5 +19,5 @@ {% include breadcrumbs.html %} {% if page.title %} -

{{ page.title | markdownify | strip_html }}

+

{{ page.title | markdownify | strip_html | strip_newlines }}

{% endif %}