Skip to content
Snippets Groups Projects
Unverified Commit bcdd6152 authored by Martin Donath's avatar Martin Donath Committed by GitHub
Browse files

Merge pull request #640 from squidfunk/fix/jinja2-downward-compatibility

Prepare 2.2.4 release
parents a7da5d5d 1c4b3683
Branches
Tags
No related merge requests found
mkdocs-material-2.2.4 (2017-12-18)
* Fixed #638: Build breaks with Jinja < 2.9
mkdocs-material-2.2.3 (2017-12-13) mkdocs-material-2.2.3 (2017-12-13)
* Fixed #630: Admonition sets padding on any last child * Fixed #630: Admonition sets padding on any last child
......
...@@ -12,7 +12,7 @@ To determine the currently installed version, use the following command: ...@@ -12,7 +12,7 @@ To determine the currently installed version, use the following command:
``` sh ``` sh
pip show mkdocs-material | grep -E ^Version pip show mkdocs-material | grep -E ^Version
# Version 2.2.3 # Version 2.2.4
``` ```
### Material 1.x to 2.x ### Material 1.x to 2.x
...@@ -38,11 +38,19 @@ pip show mkdocs-material | grep -E ^Version ...@@ -38,11 +38,19 @@ pip show mkdocs-material | grep -E ^Version
## Changelog ## Changelog
### 2.2.4 <small>_ December 18, 2017</small>
* Fixed [#638][638]: Build breaks with Jinja < 2.9
[638]: https://github.com/squidfunk/mkdocs-material/issues/638
### 2.2.3 <small>_ December 13, 2017</small> ### 2.2.3 <small>_ December 13, 2017</small>
* Fixed #630: Admonition sets padding on any last child * Fixed [#630][630]: Admonition sets padding on any last child
* Adjusted Chinese (Traditional) translations * Adjusted Chinese (Traditional) translations
[630]: https://github.com/squidfunk/mkdocs-material/issues/630
### 2.2.2 <small>_ December 8, 2017</small> ### 2.2.2 <small>_ December 8, 2017</small>
* Added Dutch translations * Added Dutch translations
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<meta name="lang:{{ key }}" content="{{ lang.t(key) }}"> <meta name="lang:{{ key }}" content="{{ lang.t(key) }}">
{% endfor %} {% endfor %}
<link rel="shortcut icon" href="{{ base_url }}/{{ config.theme.favicon }}"> <link rel="shortcut icon" href="{{ base_url }}/{{ config.theme.favicon }}">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.2.3"> <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.2.4">
{% endblock %} {% endblock %}
{% block htmltitle %} {% block htmltitle %}
{% if page and page.meta and page.meta.title %} {% if page and page.meta and page.meta.title %}
......
{% set feature = config.theme.feature %}
{% set class = "md-hero" %} {% set class = "md-hero" %}
{% if not feature.tabs %} {% if not feature.tabs %}
{% set class = "md-hero md-hero--expand" %} {% set class = "md-hero md-hero--expand" %}
......
{ {
"name": "mkdocs-material", "name": "mkdocs-material",
"version": "2.2.3", "version": "2.2.4",
"description": "A Material Design theme for MkDocs", "description": "A Material Design theme for MkDocs",
"keywords": [ "keywords": [
"mkdocs", "mkdocs",
......
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
IN THE SOFTWARE. IN THE SOFTWARE.
--> -->
<!-- Theme options -->
{% set feature = config.theme.feature %}
<!-- Determine class according to level --> <!-- Determine class according to level -->
{% set class = "md-hero" %} {% set class = "md-hero" %}
{% if not feature.tabs %} {% if not feature.tabs %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment