From d7862e4fc7f8432e5ac70e77066fab3bcfa14742 Mon Sep 17 00:00:00 2001 From: robinyu Date: Sat, 18 Mar 2017 18:04:09 +0800 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 599135026fb9..fd0e89be17a1 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -63,9 +63,7 @@

{{ site.data.ui-text[site.locale].meta_label }}

{% endcomment %} {% if page.id and page.related and site.related_posts.size > 0 %}