Merge branch 'release/4.3.1'

This commit is contained in:
Michael Rose 2017-03-16 10:32:02 -04:00
commit 9634feb0c8
10 changed files with 21 additions and 13 deletions

View file

@ -1,3 +1,9 @@
## [4.3.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.1)
### Bug Fixes
- Correctly show Related Posts heading when UI Text data file is omitted and `related: true` in YAML Front Matter. [#901](https://github.com/mmistakes/minimal-mistakes/pull/901)
## [4.3.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.0) ## [4.3.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.0)
### Enhancements ### Enhancements

View file

@ -63,9 +63,7 @@ layout: default
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %} {% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
{% if page.id and page.related and site.related_posts.size > 0 %} {% if page.id and page.related and site.related_posts.size > 0 %}
<div class="page__related"> <div class="page__related">
{% if site.data.ui-text[site.locale].related_label %}
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4> <h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
{% endif %}
<div class="grid__wrapper"> <div class="grid__wrapper">
{% for post in site.related_posts limit:4 %} {% for post in site.related_posts limit:4 %}
{% include archive-single.html type="grid" %} {% include archive-single.html type="grid" %}

View file

@ -2,7 +2,7 @@
--- ---
/*! /*!
* Minimal Mistakes Jekyll Theme 4.3.0 by Michael Rose * Minimal Mistakes Jekyll Theme 4.3.1 by Michael Rose
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes * Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt) * Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
*/ */

View file

@ -3,7 +3,7 @@ layout:
--- ---
/*! /*!
* Minimal Mistakes Jekyll Theme 4.3.0 by Michael Rose * Minimal Mistakes Jekyll Theme 4.3.1 by Michael Rose
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes * Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT * Licensed under MIT
*/ */

View file

@ -4,9 +4,15 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme." excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar: sidebar:
nav: docs nav: docs
modified: 2017-02-28T10:35:04-05:00 modified: 2017-03-16T10:27:53-04:00
--- ---
## [4.3.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.1)
### Bug Fixes
- Correctly show Related Posts heading when UI Text data file is omitted and `related: true` in YAML Front Matter. [#901](https://github.com/mmistakes/minimal-mistakes/pull/901)
## [4.3.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.0) ## [4.3.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.0)
### Enhancements ### Enhancements

View file

@ -63,9 +63,7 @@ layout: default
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %} {% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
{% if page.id and page.related and site.related_posts.size > 0 %} {% if page.id and page.related and site.related_posts.size > 0 %}
<div class="page__related"> <div class="page__related">
{% if site.data.ui-text[site.locale].related_label %}
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4> <h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
{% endif %}
<div class="grid__wrapper"> <div class="grid__wrapper">
{% for post in site.related_posts limit:4 %} {% for post in site.related_posts limit:4 %}
{% include archive-single.html type="grid" %} {% include archive-single.html type="grid" %}

View file

@ -2,7 +2,7 @@
--- ---
/*! /*!
* Minimal Mistakes Jekyll Theme 4.3.0 by Michael Rose * Minimal Mistakes Jekyll Theme 4.3.1 by Michael Rose
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes * Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt) * Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
*/ */

View file

@ -3,7 +3,7 @@ layout:
--- ---
/*! /*!
* Minimal Mistakes Jekyll Theme 4.3.0 by Michael Rose * Minimal Mistakes Jekyll Theme 4.3.1 by Michael Rose
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes * Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT * Licensed under MIT
*/ */

View file

@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "minimal-mistakes-jekyll" spec.name = "minimal-mistakes-jekyll"
spec.version = "4.3.0" spec.version = "4.3.1"
spec.authors = ["Michael Rose"] spec.authors = ["Michael Rose"]
spec.summary = %q{A flexible two-column Jekyll theme.} spec.summary = %q{A flexible two-column Jekyll theme.}

View file

@ -1,6 +1,6 @@
{ {
"name": "minimal-mistakes", "name": "minimal-mistakes",
"version": "4.3.0", "version": "4.3.1",
"description": "Minimal Mistakes Jekyll theme npm build scripts", "description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": { "repository": {
"type": "git", "type": "git",