DaffRouteWithSeoData
An interface that extends Angular's Route to include support for seo structures. This helps add route-specific metadata for SEO and search engines.
import { DaffRouteWithSeoData } from '@daffodil/seo/router'
interface DaffRouteWithSeoData<T> {
data: {
daffSeoData?: {
canonical_url?: string;
meta_description?: string;
title?: string;
schema?: Schema<T>;
};
} & Route['data']
}
Properties
Name | Type | Description |
---|---|---|
data | { daffSeoData?: { canonical_url?: string; meta_description?: string; title?: string; schema?: Schema<T>; }; } & Route['data'] |