feat(seo): configure SEO plugin integration

- Add SEO tab to site blueprint
- Configure canonical base URL in config
- Include SEO head snippet in header
- Include SEO schemas snippet in footer

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-02-10 16:23:28 +01:00
parent 04a14a7f1f
commit d47cd59c83
4 changed files with 5 additions and 2 deletions

View file

@ -5,3 +5,4 @@ tabs:
label: Contenu label: Contenu
sections: sections:
investigations: fields/investigations investigations: fields/investigations
seo: seo/site

View file

@ -32,5 +32,6 @@ return [
'campaign_slug' => 'soutenir-index-en-2024', 'campaign_slug' => 'soutenir-index-en-2024',
'campaign_url' => 'https://donorbox.org/soutenir-index-en-2024', 'campaign_url' => 'https://donorbox.org/soutenir-index-en-2024',
'api_base_url' => 'https://donorbox.org/api/v1' 'api_base_url' => 'https://donorbox.org/api/v1'
] ],
'tobimori.seo.canonicalBase' => 'https://www.index.ngo'
]; ];

View file

@ -62,6 +62,6 @@
</div> </div>
</div> </div>
</footer> </footer>
<?php snippet('seo/schemas'); ?>
</body> </body>
</html> </html>

View file

@ -20,6 +20,7 @@
/> />
<script src="<?= url('assets/js/script.js') ?>" type="module"></script> <script src="<?= url('assets/js/script.js') ?>" type="module"></script>
<?php snippet('seo/head'); ?>
</head> </head>
<body data-template="<?= $page->template() ?>"> <body data-template="<?= $page->template() ?>">