Compare commits

...
4 Commits
Author SHA1 Message Date
Michael Rose e3bdd1020d Merge branch 'hotfix/3.3.6' 2016-08-01 10:29:10 -04:00
Michael Rose 98e61b2b52 Update CHANGELOG and bump version to 3.3.6 2016-08-01 10:28:53 -04:00
Michael Rose 3e2e7daa51 Fix blank site.teaser bug
- Use `assign` instead of capture and then check if variable is `nil` or not.
- Close #412
2016-08-01 10:27:54 -04:00
Michael Rose f3fd789041 Remove Bug Fixes heading 2016-08-01 09:53:43 -04:00
3 changed files with 9 additions and 5 deletions
+6 -2
View File
@@ -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
@@ -6,8 +12,6 @@
- Add Portuguese localized UI text. [#411](https://github.com/mmistakes/minimal-mistakes/pull/411)
- Add Italian localized UI text. [#409](https://github.com/mmistakes/minimal-mistakes/pull/409)
### Bug Fixes
### Maintenance
- Remove unused Google AdSense variables in `_config.yml` [#404](https://github.com/mmistakes/minimal-mistakes/issues/404)
+2 -2
View File
@@ -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 @@
<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 "://" %}
+1 -1
View File
@@ -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",