Merge SEO, GEO and Search Console track
Conflict in createContentHelpers.ts resolved by keeping both: isPathVisible (per-path, security track) and constructionPaths (per-list, SEO track). Co-Authored-By: Claude Opus 5.5 <[email protected]> # Conflicts: # src/modules/frontend/createContentHelpers.ts
This commit is contained in:
@@ -11,6 +11,8 @@ type BuildSiteSettingsArgs = {
|
||||
constructionFields?: Field[]
|
||||
/** "Emails" tab — given with `forms: { emailLayout: true }`. */
|
||||
emailFields?: Field[]
|
||||
/** "Search & AI" tab — search-engine verification, AI crawlers, llms.txt note (seo module). */
|
||||
searchFields?: Field[]
|
||||
/**
|
||||
* Fields for the "System Pages" tab — page assignments by role (homepage,
|
||||
* privacy policy, collection archives). Assembled by the caller, which is the
|
||||
@@ -37,6 +39,7 @@ export function buildSiteSettings({
|
||||
additionalFields,
|
||||
constructionFields,
|
||||
emailFields,
|
||||
searchFields,
|
||||
systemPageFields,
|
||||
}: BuildSiteSettingsArgs = {}): GlobalConfig {
|
||||
return {
|
||||
@@ -65,6 +68,7 @@ export function buildSiteSettings({
|
||||
...(systemPageFields?.length
|
||||
? [{ fields: systemPageFields, label: 'System Pages' }]
|
||||
: []),
|
||||
...(searchFields?.length ? [{ fields: searchFields, label: 'Search & AI' }] : []),
|
||||
...(emailFields?.length ? [{ fields: emailFields, label: 'Emails' }] : []),
|
||||
...(constructionFields?.length ? [{ fields: constructionFields, label: 'Under construction' }] : []),
|
||||
...(additionalFields?.length ? [{ fields: additionalFields, label: 'Custom' }] : []),
|
||||
|
||||
Reference in New Issue
Block a user