Skip to content

Commit

Permalink
Merge branch 'hotfix/3.3.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Aug 1, 2016
2 parents f3fd789 + 98e61b2 commit e3bdd10
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions _includes/archive-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -14,7 +14,7 @@

<div class="{{ include.type | default: "list" }}__item">
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
{% if include.type == "grid" and teaser != blank %}
{% if include.type == "grid" and teaser %}
<div class="archive__item-teaser">
<img src=
{% if teaser contains "://" %}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minimal-mistakes",
"version": "3.3.5",
"version": "3.3.6",
"description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": {
"type": "git",
Expand Down

0 comments on commit e3bdd10

Please sign in to comment.