shallowred / kirby-meta
Meta tags, JSON-LD, sitemap and robots.txt for Kirby 5, compatible with the content and snippets of tobimori/kirby-seo 1
0.1.4
2026-12-02 18:05 UTC
Requires
- php: >=8.3
- getkirby/composer-installer: ^1.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Meta tags, JSON-LD, sitemap.xml and robots.txt for Kirby 5.
The plugin reads the fields of tobimori/kirby-seo 1 (metaTitle, metaDescription, ogDescription, ogImage, metaTemplate, ogTemplate, twitterCardType) and registers the same snippets (seo/head, seo/schemas) and blueprints (seo/page, seo/site), so a site can replace kirby-seo 1 without changing its content or templates. A page model can return defaults from a metaDefaults() method.
Install
composer require shallowred/kirby-meta
Options
'shallowred.meta' => [ 'canonicalBase' => 'https://example.com', 'locale' => 'fr_FR', 'sitemap.excludeTemplates' => ['error'], 'robots.content' => "User-agent: *\nAllow: /\nDisallow: /panel", ],