From 7e8f54f7094e17fe2b4ccfd65e8c2af5c03a80c5 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 30 Dec 2020 15:03:37 +0300 Subject: [PATCH] Sitemap 2.7.0 --- CHANGELOG.md | 9 +++++++++ README.md | 4 ++-- bootstrap.php | 2 +- composer.json | 4 ++-- plugin.yaml | 4 ++-- settings.yaml | 2 +- templates/index.html | 2 +- 7 files changed, 18 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 286de15..0ea3fd8 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ + +# [2.7.0](https://github.com/flextype-plugins/sitemap/compare/v2.6.1...v2.7.0) (2020-12-30) + +### Features + +* **core** update code base for new Flextype 0.9.14 +* **core** Moving to PHP 7.4 +* **core** use new TWIG Plugin 1.7.0 + # [2.6.1](https://github.com/flextype-plugins/sitemap/compare/v2.6.0...v2.6.1) (2020-12-21) diff --git a/README.md b/README.md index cd6b73c..602f337 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

Sitemap Plugin for Flextype

-Version License Total downloads Flextype Discord +Version License Total downloads Flextype Discord

Sitemap plugin provide automatically generated XML sitemap for Flextype. @@ -12,7 +12,7 @@ The following dependencies need to be downloaded and installed for Sitemap Plugi | Item | Version | Download | |---|---|---| -| [flextype](https://github.com/flextype/flextype) | 0.9.13 | [download](https://github.com/flextype/flextype/releases) | +| [flextype](https://github.com/flextype/flextype) | 0.9.14 | [download](https://github.com/flextype/flextype/releases) | | [twig](https://github.com/flextype-plugins/twig) | >=1.0.0 | [download](https://github.com/flextype-plugins/twig/releases) | ## Installation diff --git a/bootstrap.php b/bootstrap.php index 8dc66fb..8d9b3a6 100755 --- a/bootstrap.php +++ b/bootstrap.php @@ -7,7 +7,7 @@ * Flextype Sitemap Plugin * * @author Romanenko Sergey / Awilum - * @link http://flextype.org + * @link https://flextype.org * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/composer.json b/composer.json index 2990eeb..5c23545 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "issues": "https://github.com/flextype-plugins/sitemap/issues" }, "require": { - "php": ">=7.3.0", + "php": ">=7.4.0", "ext-json": "*", "flextype-components/arrays" : "3.0.1", "flextype-components/filesystem": "2.0.8" @@ -25,7 +25,7 @@ "apcu-autoloader": true, "optimize-autoloader": true, "platform": { - "php": "7.3.0" + "php": "7.4.0" } }, "autoload": { diff --git a/plugin.yaml b/plugin.yaml index cc1b52e..c153718 100755 --- a/plugin.yaml +++ b/plugin.yaml @@ -1,5 +1,5 @@ name: Sitemap -version: 2.6.1 +version: 2.7.0 description: Provide automatically generated XML sitemap. author: name: Sergey Romanenko @@ -14,5 +14,5 @@ keywords: sitemap, plugin, xml, map, index license: MIT dependencies: - flextype: 0.9.13 + flextype: 0.9.14 twig: '>=1.0.0' diff --git a/settings.yaml b/settings.yaml index 5ab10c1..706f4e1 100755 --- a/settings.yaml +++ b/settings.yaml @@ -2,7 +2,7 @@ enabled: true # Sitemap plugin priority -priority: 95 +priority: 100 # Route route: sitemap.xml diff --git a/templates/index.html b/templates/index.html index acf28a6..e4de7cd 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,7 +5,7 @@ {{ url() }}/{{ entry.loc|e }} {% if entry.lastmod %} - {{ entry.lastmod|date(registry.get('plugins.sitemap.settings.date_format')) }} + {{ entry.lastmod|date(flextype.registry.get('plugins.sitemap.settings.date_format')) }} {% endif %} {% if entry.changefreq %} {{ entry.changefreq }}