From 14c2e31ce544e68b45f3433220f7b870b0adddd5 Mon Sep 17 00:00:00 2001 From: Brian Exelbierd Date: Tue, 24 Jul 2018 16:43:54 +0200 Subject: [PATCH] Allow time to be shown with a header image overlay (#1756) Fix `read_time` logic in header image overlay --- _includes/page__hero.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/page__hero.html b/_includes/page__hero.html index 61d4cf418eb7..c05b346b9164 100644 --- a/_includes/page__hero.html +++ b/_includes/page__hero.html @@ -45,7 +45,7 @@

{% if page.header.show_overlay_excerpt != false and page.excerpt %}

{{ page.excerpt | markdownify | remove: "

" | remove: "

" }}

{% endif %} - {% if site.read_time and page.read_time %} + {% if page.read_time %}

{% include read-time.html %}

{% endif %} {% if page.header.cta_url %}