feat(seo): add keywords meta tag support for improved SEO
- Introduced keywords property in layout and page server files to enhance SEO capabilities. - Updated relevant components to include keywords in meta tags for better search engine visibility.
This commit is contained in:
@@ -79,6 +79,7 @@ export const load: PageServerLoad = async ({ params, locals, fetch }) => {
|
||||
seoTitle: page.seoTitle ?? page.headline ?? page.linkName ?? slug,
|
||||
seoDescription: page.seoDescription ?? page.subheadline ?? '',
|
||||
robots: (page as { seoMetaRobots?: string }).seoMetaRobots ?? undefined,
|
||||
keywords: (page as { seoKeywords?: string }).seoKeywords ?? undefined,
|
||||
breadcrumbItems: [
|
||||
{ href: '/', label: 'Start' },
|
||||
{ label: page.headline ?? page.linkName ?? page.slug ?? page._slug ?? slug },
|
||||
|
||||
Reference in New Issue
Block a user