SEO : add tombi mori plugin

This commit is contained in:
isUnknown 2025-05-13 09:03:14 +02:00
parent df2843123f
commit 8f9e75126e
64 changed files with 3719 additions and 44 deletions

View file

@ -0,0 +1,11 @@
<?php
use tobimori\Seo\Meta;
use tobimori\Seo\SchemaSingleton;
return [
'schema' => fn ($type) => SchemaSingleton::getInstance($type, $this),
'schemas' => fn () => SchemaSingleton::getInstances($this),
'metadata' => fn (?string $lang = null) => new Meta($this, $lang),
'robots' => fn (?string $lang = null) => $this->metadata($lang)->robots(),
];