diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ccfee50..043f8865 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [3.3.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.6) + +### Bug Fixes + +- Fix blank `site.teaser` bug [#412](https://github.com/mmistakes/minimal-mistakes/issues/412) + ## [3.3.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.5) ### Enhancements diff --git a/_includes/archive-single.html b/_includes/archive-single.html index 6b5eb494..e904447f 100644 --- a/_includes/archive-single.html +++ b/_includes/archive-single.html @@ -3,7 +3,7 @@ {% if post.header.teaser %} {% capture teaser %}{{ post.header.teaser }}{% endcapture %} {% else %} - {% capture teaser %}{{ site.teaser }}{% endcapture %} + {% assign teaser = site.teaser %} {% endif %} {% if post.id %} @@ -14,7 +14,7 @@
- {% if include.type == "grid" and teaser != blank %} + {% if include.type == "grid" and teaser %}