From 49c4a363bca450c957369cc81dc0899c1ece5a48 Mon Sep 17 00:00:00 2001 From: Karthik Chintapalli <karthik.chintapalli@gmail.com> Date: Wed, 4 Jan 2017 18:18:53 +0530 Subject: [PATCH] Fixed stray text appearing on top of the navbar at small screen sizes (#8681) --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 2516518d..5e10b984 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,7 +1,7 @@ {% if page.excerpt %} {% assign type = 'article' %} {% assign sectionTitle = 'React Blog' %} -{% assign description = page.excerpt | remove: '<p>' | remove: '</p>' %} +{% assign description = page.excerpt | strip_html %} {% else %} {% assign type = 'website' %} {% assign sectionTitle = 'React' %}