TTikotok V4
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { Metadata } from 'next'
|
||||
import { notFound } from 'next/navigation'
|
||||
import SeoCategoryPage from '@/components/SeoCategoryPage'
|
||||
import { getHreflangAlternates } from '@/lib/localeRoutes'
|
||||
import { getSpanishSeoPageBySlug, spanishSeoPageSlugs } from '@/lib/spanishSeoPages'
|
||||
import { siteConfig } from '@/lib/site'
|
||||
|
||||
@@ -30,7 +31,7 @@ export async function generateMetadata({ params }: SpanishSeoRouteProps): Promis
|
||||
description: profile.metaDescription,
|
||||
alternates: {
|
||||
canonical: profile.canonical,
|
||||
languages: {
|
||||
languages: getHreflangAlternates(profile.canonical) ?? {
|
||||
es: profile.canonical,
|
||||
'x-default': '/',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user