Allow time to be shown with a header image overlay (#1756)
Fix `read_time` logic in header image overlay
This commit is contained in:
parent
9cfa4865fd
commit
3c48a2ed02
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue