diff --git a/CHANGELOG b/CHANGELOG index 501dd0cb9..acf18306c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +mkdocs-material-2.2.4 (2017-12-18) + + * Fixed #638: Build breaks with Jinja < 2.9 + mkdocs-material-2.2.3 (2017-12-13) * Fixed #630: Admonition sets padding on any last child diff --git a/docs/release-notes.md b/docs/release-notes.md index 7f89801d4..7f5f00ede 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -12,7 +12,7 @@ To determine the currently installed version, use the following command: ``` sh pip show mkdocs-material | grep -E ^Version -# Version 2.2.3 +# Version 2.2.4 ``` ### Material 1.x to 2.x @@ -38,11 +38,19 @@ pip show mkdocs-material | grep -E ^Version ## Changelog +### 2.2.4 _ December 18, 2017 + +* Fixed [#638][638]: Build breaks with Jinja < 2.9 + + [638]: https://github.com/squidfunk/mkdocs-material/issues/638 + ### 2.2.3 _ December 13, 2017 -* Fixed #630: Admonition sets padding on any last child +* Fixed [#630][630]: Admonition sets padding on any last child * Adjusted Chinese (Traditional) translations + [630]: https://github.com/squidfunk/mkdocs-material/issues/630 + ### 2.2.2 _ December 8, 2017 * Added Dutch translations diff --git a/material/base.html b/material/base.html index 6924479bc..41eb4db59 100644 --- a/material/base.html +++ b/material/base.html @@ -34,7 +34,7 @@ {% endfor %} - + {% endblock %} {% block htmltitle %} {% if page and page.meta and page.meta.title %} diff --git a/material/partials/hero.html b/material/partials/hero.html index d0c534fe2..9f6d77e92 100644 --- a/material/partials/hero.html +++ b/material/partials/hero.html @@ -1,3 +1,4 @@ +{% set feature = config.theme.feature %} {% set class = "md-hero" %} {% if not feature.tabs %} {% set class = "md-hero md-hero--expand" %} diff --git a/package.json b/package.json index a32dea3b7..0971d9411 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mkdocs-material", - "version": "2.2.3", + "version": "2.2.4", "description": "A Material Design theme for MkDocs", "keywords": [ "mkdocs", diff --git a/src/partials/hero.html b/src/partials/hero.html index 407ea24fc..eecf4f0bf 100644 --- a/src/partials/hero.html +++ b/src/partials/hero.html @@ -20,6 +20,9 @@ IN THE SOFTWARE. --> + +{% set feature = config.theme.feature %} + {% set class = "md-hero" %} {% if not feature.tabs %}