add seo plugin

This commit is contained in:
isUnknown 2024-09-19 07:36:53 +02:00
parent 23dbb65314
commit e69dc23c91
1909 changed files with 1111579 additions and 10 deletions

View file

@ -0,0 +1,20 @@
<?php
use Kirby\Toolkit\A;
return [
'seo-preview' => [
'mixins' => ['headline'],
'computed' => [
'options' => function () {
return A::map(option('tobimori.seo.previews'), fn ($item) => [
'value' => $item,
'text' => t($item)
]);
}
]
],
'heading-structure' => [
'mixins' => ['headline']
]
];