Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 14c2e31

Browse files
bexelbiemmistakes
authored andcommittedJul 24, 2018
Allow time to be shown with a header image overlay (mmistakes#1756)
Fix `read_time` logic in header image overlay
1 parent 5c19c07 commit 14c2e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎_includes/page__hero.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h1 id="page-title" class="page__title" itemprop="headline">
4545
{% if page.header.show_overlay_excerpt != false and page.excerpt %}
4646
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
4747
{% endif %}
48-
{% if site.read_time and page.read_time %}
48+
{% if page.read_time %}
4949
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
5050
{% endif %}
5151
{% if page.header.cta_url %}

0 commit comments

Comments
 (0)
Please sign in to comment.