diff --git a/src/collections/Blogs.ts b/src/collections/Blogs.ts index f500a1a..6168629 100644 --- a/src/collections/Blogs.ts +++ b/src/collections/Blogs.ts @@ -58,6 +58,11 @@ export const Blogs: CollectionConfig = { label: "Description", type: "textarea", }, + { + name: "cannonical_url", + label: "Cannonical Url", + type: "text", + }, ], }, { diff --git a/src/collections/Pages.ts b/src/collections/Pages.ts index 9115e90..80ce9bb 100644 --- a/src/collections/Pages.ts +++ b/src/collections/Pages.ts @@ -54,6 +54,11 @@ export const Pages: CollectionConfig = { label: "Description", type: "textarea", }, + { + name: "cannonical_url", + label: "Cannonical Url", + type: "text", + }, ], }, ], diff --git a/src/payload-types.ts b/src/payload-types.ts index 537a842..de40e14 100644 --- a/src/payload-types.ts +++ b/src/payload-types.ts @@ -191,6 +191,7 @@ export interface Blog { meta?: { title?: string | null; description?: string | null; + cannonical_url?: string | null; }; is_published?: boolean | null; updatedAt: string; @@ -303,6 +304,7 @@ export interface Page { meta?: { title?: string | null; description?: string | null; + cannonical_url?: string | null; }; updatedAt: string; createdAt: string; @@ -639,6 +641,7 @@ export interface BlogsSelect { | { title?: T; description?: T; + cannonical_url?: T; }; is_published?: T; updatedAt?: T; @@ -704,6 +707,7 @@ export interface PagesSelect { | { title?: T; description?: T; + cannonical_url?: T; }; updatedAt?: T; createdAt?: T;