add seo plugin
This commit is contained in:
parent
23dbb65314
commit
e69dc23c91
1909 changed files with 1111579 additions and 10 deletions
8
site/plugins/kirby-seo/snippets/schemas.php
Normal file
8
site/plugins/kirby-seo/snippets/schemas.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
$siteSchema ??= true;
|
||||
$pageSchema ??= true;
|
||||
|
||||
foreach (array_merge($siteSchema ? $site->schemas() : [], $pageSchema ? $page->schemas() : []) as $schema) {
|
||||
echo $schema;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue