diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a599da..3f44c01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# v1.7.0 +## 03/21/2019 + +1. [](#new) + * Set Dependency of Grav 1.5.10+ which has support for new **Deferred Block** Twig extension + * Implement assets rendering using **Deferred Block** Twig extension + # v1.6.2 ## 12/20/2016 diff --git a/blueprints.yaml b/blueprints.yaml index 1211fe9..6e1fe18 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,5 +1,5 @@ name: Deliver -version: 1.6.2 +version: 1.7.0 description: "Deliver theme is a port of the Michael Reimer's Deliver Free PSD theme." icon: newspaper-o author: @@ -11,6 +11,8 @@ demo: http://demo.getgrav.org/deliver-skeleton/ keywords: deliver, theme, modern, fast, responsive, html5, css3 bugs: https://github.com/getgrav/grav-theme-deliver/issues license: MIT +dependencies: + - { name: grav, version: '>=1.5.10' } form: validation: loose diff --git a/templates/item.html.twig b/templates/item.html.twig index 6dbff5c..d4bdca1 100644 --- a/templates/item.html.twig +++ b/templates/item.html.twig @@ -19,8 +19,10 @@

{{ page.title }}

{% endif %} - - {% include 'partials/breadcrumbs.html.twig' %} + + {% if config.plugins.breadcrumbs.enabled %} + {% include 'partials/breadcrumbs.html.twig' %} + {% endif %}
diff --git a/templates/partials/archives.html.twig b/templates/partials/archives.html.twig index 4f1a3af..9d3eaf2 100644 --- a/templates/partials/archives.html.twig +++ b/templates/partials/archives.html.twig @@ -1,7 +1,7 @@
{% block bottom %} - {{ assets.js('bottom') }} + {{ assets.js('bottom')|raw }}