Docs: admin languages and texts, wording rule for agents, new screen names
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6b46bc0c14
commit
0a2374db18
+5
-5
@@ -9,7 +9,7 @@ picked as this collection's archive.
|
||||
|
||||
```
|
||||
posts collection ──(config)──► "this is an archive collection"
|
||||
"Artykuły" page ──(System Pages)──► "I am the archive of the posts collection"
|
||||
"Artykuły" page ──(System pages)──► "I am the archive of the posts collection"
|
||||
entry ──► belongs to posts, nothing more
|
||||
```
|
||||
|
||||
@@ -45,7 +45,7 @@ ipalKit({
|
||||
})
|
||||
```
|
||||
|
||||
Each item adds to **Site Settings → System Pages** a relationship field
|
||||
Each item adds to **Site settings → System pages** a relationship field
|
||||
"{label} — archive page" named `{slug}Archive` (`archiveFieldName('posts')` →
|
||||
`'postsArchive'`), pointing at the `pages.slug` collection.
|
||||
|
||||
@@ -86,7 +86,7 @@ const route = await resolveRoute({
|
||||
```
|
||||
|
||||
Without `draft: true`, documents with a `_status` other than `published` (page, archive,
|
||||
entry) give `null`. The page assigned as 404 in System Pages also gives `null`
|
||||
entry) give `null`. The page assigned as 404 in System pages also gives `null`
|
||||
(a real 404 instead of a soft 404).
|
||||
|
||||
Logic: the first segment is matched against the slugs of the archive pages from System
|
||||
@@ -125,7 +125,7 @@ the factory and shared — that is why it is a factory, not loose functions. Wit
|
||||
`cache()` would not dedupe across helpers, and Next calls generateMetadata and
|
||||
the page component separately.
|
||||
|
||||
`getSettings(locale)` reads Site Settings with **`depth: 1`** — relationships (logo, pages in menus,
|
||||
`getSettings(locale)` reads Site settings with **`depth: 1`** — relationships (logo, pages in menus,
|
||||
system pages) arrive as documents (`slug`, `title`), but **their** relationships arrive as IDs.
|
||||
The page that `resolveRoute` renders (home page, archive, regular page) is fetched
|
||||
separately with `depth: 2`. Need more depth in the layout (e.g. the image of a page linked in the menu)?
|
||||
@@ -326,7 +326,7 @@ export const dynamic = 'force-dynamic'
|
||||
|
||||
`createMarkdownRoute` / `markdownRoute`: 404 for unknown/unpublished pages, database error → 503.
|
||||
Under-construction mode: with `isPathVisible` (`markdownRoute` from `createContentHelpers` passes it by itself),
|
||||
pages hidden by Site Settings → Under construction also give 404.
|
||||
pages hidden by Site settings → Maintenance also give 404.
|
||||
|
||||
The full AI set: this endpoint + `llms.txt` (see [seo.md](./seo.md)) + letting
|
||||
bots in through robots.txt.
|
||||
|
||||
Reference in New Issue
Block a user