Allow time to be shown with a header image overlay (#1756)

Fix `read_time` logic in header image overlay
This commit is contained in:
Brian Exelbierd 2018-07-24 16:43:54 +02:00 committed by Michael Rose
parent 9cfa4865fd
commit 3c48a2ed02

View file

@ -45,7 +45,7 @@
{% if page.header.show_overlay_excerpt != false and page.excerpt %}
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
{% endif %}
{% if site.read_time and page.read_time %}
{% if page.read_time %}
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
{% if page.header.cta_url %}