From 958b39974164ed8798658781e2341178c3b25eb5 Mon Sep 17 00:00:00 2001 From: Nicolas Cavigneaux Date: Thu, 16 Mar 2017 15:21:13 +0100 Subject: [PATCH 1/3] 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 +--- docs/_layouts/single.html | 4 +--- 2 files changed, 2 insertions(+), 6 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 %}