diff --git a/_includes/archive-single.html b/_includes/archive-single.html index 4285b29f..cd401676 100644 --- a/_includes/archive-single.html +++ b/_includes/archive-single.html @@ -11,7 +11,7 @@ {% endif %}
- {% if include.type == "grid" %} + {% if include.type == "grid" and teaser != blank %}
{% endif %}

{% if post.id %}{{ post.title | markdownify | remove: "

" | remove: "

" }}{% else %}{{ post.title }}{% endif %}{% if post.link %}{% endif %}

- {% if site.read_time and post.read_time %}

{% include read-time.html %}

{% endif %} + {% if post.read_time %} +

{% include read-time.html %}

+ {% endif %} {% if post.excerpt %}

{{ post.excerpt | markdownify | strip_html | truncate: 160 }}

{% endif %}
diff --git a/_layouts/single.html b/_layouts/single.html index d24688aa..961205d8 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -25,7 +25,9 @@ layout: default {% unless page.header.overlay_color or page.header.overlay_image %}

{{ page.title | markdownify | remove: "

" | remove: "

" }}

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

{% include read-time.html %}

{% endif %} + {% if page.read_time %} +

{% include read-time.html %}

+ {% endif %}
{% endunless %}