diff --git a/composer.json b/composer.json index 7d11779..16a5fde 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "tobimori/kirby-seo", "description": "The ultimate Kirby SEO toolkit", "type": "kirby-plugin", - "version": "1.0.0-beta.3", + "version": "1.0.0-rc.1", "license": "MIT", "homepage": "https://github.com/tobimori/kirby-seo#readme", "authors": [ diff --git a/config/hooks.php b/config/hooks.php index 18b23a9..237f586 100644 --- a/config/hooks.php +++ b/config/hooks.php @@ -5,7 +5,12 @@ return [ 'page.render:before' => function (string $contentType, array $data, Page $page) { if (option('tobimori.seo.generateSchema')) { - $page->schema('WebSite')->url($page->metadata()->canonicalUrl())->copyrightYear(date('Y'))->description($page->metadata()->metaDescription())->name($page->metadata()->metaTitle())->headline($page->metadata()->title()); + $page->schema('WebSite') + ->url($page->metadata()->canonicalUrl()) + ->copyrightYear(date('Y')) + ->description($page->metadata()->metaDescription()) + ->name($page->metadata()->metaTitle()) + ->headline($page->metadata()->title()); } - } + }, ]; diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 7e22d84..8a4f22e 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,8 +1,8 @@ array( 'name' => 'tobimori/kirby-seo', - 'pretty_version' => '1.0.0-beta.3', - 'version' => '1.0.0.0-beta3', + 'pretty_version' => '1.0.0-rc.1', + 'version' => '1.0.0.0-RC1', 'reference' => NULL, 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../', @@ -29,8 +29,8 @@ 'dev_requirement' => false, ), 'tobimori/kirby-seo' => array( - 'pretty_version' => '1.0.0-beta.3', - 'version' => '1.0.0.0-beta3', + 'pretty_version' => '1.0.0-rc.1', + 'version' => '1.0.0.0-RC1', 'reference' => NULL, 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../',