index-main/site/plugins/kirby-seo/snippets/prompts/tasks/og-site-description.php
isUnknown 04a14a7f1f chore: update kirby-seo plugin to v2.0.0-alpha.12
Update plugin from v1.1.2 to v2.0.0-alpha.12 for Kirby 5 compatibility.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 16:23:23 +01:00

25 lines
No EOL
934 B
PHP

<?php
/** @var \Kirby\Cms\Page $page
** @var \Kirby\Cms\Site $site
** @var string|null $instructions
** @var string|null $edit */
snippet('seo/prompts/introduction', [
'instructions' => $instructions ?? null,
'edit' => $edit ?? null
]); ?>
<task>
Create a useful GLOBAL open graph description for this site <site-title><?= $site->title()->value() ?>.</site-title>
This description will be shown on social media platforms like Facebook, WhatsApp and LinkedIn.
This description is meant as FALLBACK for when the page does not have a meta description itself.
This description should be unique and relevant to the site's content.
The entire meta description SHOULD be between 120 and 158 characters long.
You'll receive the content of the home page as well as any meta tags that are already set below.
</task>
<?php snippet('seo/prompts/site-meta', ['currentField' => 'ogDescription']);
snippet('seo/prompts/content'); ?>