From 981e2ee17c66f622c4e3d3bede121cc5df264fdc Mon Sep 17 00:00:00 2001 From: Nicolas Cavigneaux Date: Thu, 16 Mar 2017 15:21:13 +0100 Subject: [PATCH] Remove buggy conditional around related posts header (#901) This removes a buggy conditional that checks if `related_label` is available in translations before displaying the header for related posts but this header already handle missing translation by using a default string. With this fix the header is displayed even if the translation for this label isn't available. Fix #900 --- _layouts/single.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/_layouts/single.html b/_layouts/single.html index 5991350..fd0e89b 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -63,9 +63,7 @@ layout: default {% comment %}{% endcomment %} {% if page.id and page.related and site.related_posts.size > 0 %}