Merge main (security-perf + SEO) into docs; finish English docs and agent guide
- Resolve conflicts in analytics, consent, content, i18n, mcp and stats, keeping the docs fixes and the new code behaviour, verified against src - Translate the remaining 14 module pages, ipal-seo-check skill and script - Integrate the security-perf and SEO agent-guide text: getRobots, isPathVisible, Search & AI (DNS verification first, meta fields optional), sitemap index/cache/503, consentMode basic/advanced, policyVersion, globalOverrides, revalidatePath / buildGlobalRevalidateHook, authAccess, firstUserAdmin, allowCollectionMismatch, unknown-IP rate limit; stale claims fixed across AGENT.md, skills, frontend, developer guide, vibe - docsConsistency: pending list removed (all docs English); relative links now also check #anchors Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -367,8 +367,9 @@ export default createNotFoundPage(content, { load: loadNotFoundView })
|
||||
export { sitemapRoute as GET } from '@/lib/content'
|
||||
export const dynamic = 'force-dynamic'
|
||||
|
||||
// src/app/robots.ts
|
||||
export { robots as default } from '@/lib/content'
|
||||
// src/app/robots.ts — robots from code + the AI crawler policy from Site Settings → Search & AI
|
||||
export { getRobots as default } from '@/lib/content'
|
||||
export const dynamic = 'force-dynamic'
|
||||
|
||||
// src/app/manifest.ts
|
||||
export { manifest as default } from '@/lib/content'
|
||||
|
||||
+2
-3
@@ -209,7 +209,7 @@ Do this according to AGENT.md §6.8, code from node_modules/@intecion/ipal-kit/d
|
||||
all localized where it is text,
|
||||
- menu through resolveNav from lib/content (plugin, NOT lib/navigation.ts), components/layout/Header.tsx, Footer.tsx, MobileNav.tsx,
|
||||
- legal links in the footer from System Pages roles, NOT by hand,
|
||||
- afterChange hook on the globals with revalidatePath('/', 'layout').
|
||||
- the project's own globals (Header, Footer, Company) get buildGlobalRevalidateHook (afterChange); plugin globals refresh through ipalKit({ revalidatePath }).
|
||||
Wire it into [locale]/layout.tsx. a11y labels from the admin panel.
|
||||
Plan first.
|
||||
```
|
||||
@@ -301,8 +301,7 @@ Plan first.
|
||||
|
||||
```
|
||||
Check according to hooks.md that these are wired:
|
||||
buildRevalidateHook (a collection hook: Pages + content collections; globals do not have it — they get their own
|
||||
afterChange with revalidatePath('/', 'layout'), as in step 8), trackSlugHistoryHook + resolveRedirect,
|
||||
buildRevalidateHook (a collection hook: Pages + content collections; plugin globals: ipalKit({ revalidatePath }); the project's own globals: buildGlobalRevalidateHook, as in step 8), trackSlugHistoryHook + resolveRedirect,
|
||||
buildCrossLocaleFieldSync (languages from the config), buildPreventDeleteSystemPage, buildValidateUniqueRole.
|
||||
Show a test: change a page's slug → the old URL returns 308 to the new one.
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user