MCPcopy Create free account
hub / github.com/anders-swanson/oracle-database-code-samples / buildNotFoundMetadata

Function buildNotFoundMetadata

website/src/lib/seo.ts:225–236  ·  view source on GitHub ↗
(label = 'Sample')

Source from the content-addressed store, hash-verified

223}
224
225function buildNotFoundMetadata(label = 'Sample'): PageMetadata {
226 return {
227 title: `${label} Not Found | ${SITE_NAME}`,
228 description: `The requested Oracle AI Database ${label.toLowerCase()} page could not be found.`,
229 canonicalUrl: SITE_URL,
230 ogType: 'website',
231 ogImageUrl: DEFAULT_OG_IMAGE_URL,
232 ogImageAlt: DEFAULT_OG_IMAGE_ALT,
233 robots: 'noindex',
234 structuredData: []
235 };
236}
237
238export function resolveRouteMetadata(route: RouteLocationNormalizedLoaded) {
239 if (route.name === 'sample-detail') {

Callers 1

resolveRouteMetadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected