Comments: tab name Search engines, credit text, generateStaticParams scope
Comments and the ipal-kit usage line only (adds ipal-doctor); no behaviour. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
b5df59691c
commit
0d8d906653
@@ -504,7 +504,7 @@ export function createContentHelpers({
|
||||
const robots = (): RobotsRules => buildRobots({ ...robotsOptions, baseUrl: origin })
|
||||
|
||||
/**
|
||||
* `robots` plus what editors set in Site Settings → Search & AI (AI bot policy
|
||||
* `robots` plus what editors set in Site Settings → Search engines (AI bot policy
|
||||
* and per-bot exceptions), read per request. Use it instead of `robots` to
|
||||
* let the panel manage AI crawlers:
|
||||
*
|
||||
@@ -546,8 +546,8 @@ export function createContentHelpers({
|
||||
* the strongest fix for the metadata-in-head problem (stronger than ISR alone).
|
||||
*
|
||||
* Handles automatically:
|
||||
* - pages collection + content collections (with their archive prefix)
|
||||
* - excludes the homepage (maps to { slug: [] } — the root)
|
||||
* - the pages collection only (content-collection entries render on first request)
|
||||
* - the homepage as the root ({ slug: [] })
|
||||
* - excludes drafts and 404/500/system slugs
|
||||
* - KEEPS noindex pages (they must still render — noindex controls indexing,
|
||||
* not existence; skipping them would force dynamic rendering)
|
||||
|
||||
@@ -62,7 +62,7 @@ const day = (iso?: string) => (iso ? iso.slice(0, 10) : undefined)
|
||||
* and pages, so it can generate this automatically.
|
||||
*
|
||||
* Structure (llmstxt.org): H1 site name, a blockquote summary, the editor's
|
||||
* note from Site Settings → Search & AI (when set), then — per
|
||||
* note from Site Settings → Search engines (when set), then — per
|
||||
* language when the site has several — one list per collection (pages first,
|
||||
* then archive collections such as a blog) of Markdown links with descriptions.
|
||||
* Section names are the project's own locale and collection labels; the plugin
|
||||
@@ -115,7 +115,7 @@ export async function buildLlmsTxt({
|
||||
|
||||
const lines: string[] = [`# ${name}`, '']
|
||||
if (description) {lines.push(`> ${description}`, '')}
|
||||
// Site Settings → Search & AI: facts the editor wants assistants to know and quote.
|
||||
// Site Settings → Search engines: facts the editor wants assistants to know and quote.
|
||||
const intro = llmsIntroFrom(settings)
|
||||
if (intro) {lines.push(intro, '')}
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ type BuildMetadataArgs = {
|
||||
siteName?: null | string
|
||||
/** slug per locale for this document — drives canonical + hreflang. */
|
||||
slugs: LocalizedSlugs
|
||||
/** Site Settings → Search & AI verification codes; rendered as <meta> tags by Next. */
|
||||
/** Site Settings → Search engines verification codes; rendered as <meta> tags by Next. */
|
||||
verification?: VerificationMetadata
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ export type RobotsOptions = {
|
||||
/**
|
||||
* Per-bot exceptions that win over `aiBots` — a listed bot leaves its policy
|
||||
* group and gets its own allow or block. Unknown bots can be added this way.
|
||||
* Site Settings → Search & AI fills it when you use `getRobots`.
|
||||
* Site Settings → Search engines fills it when you use `getRobots`.
|
||||
*/
|
||||
aiBotRules?: readonly AiBotRule[]
|
||||
/**
|
||||
|
||||
@@ -29,7 +29,7 @@ export type SiteMetaConfig = {
|
||||
/** Global fallback meta description. */
|
||||
siteDescription?: null | string
|
||||
siteName: null | string
|
||||
/** Site Settings → Search & AI → verification codes (Search Console, Bing, Yandex). */
|
||||
/** Site Settings → Search engines → verification codes (Search Console, Bing, Yandex). */
|
||||
verification?: VerificationMetadata
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ export type SeoOption = {
|
||||
/** Optional: customize how meta titles are generated in the admin preview. */
|
||||
generateTitle?: (args: { doc: Record<string, unknown> }) => string
|
||||
/**
|
||||
* Site Settings → "Search & AI" tab: Search Console / Bing / Yandex
|
||||
* Site Settings → "Search engines" tab: Search Console / Bing / Yandex
|
||||
* verification, AI crawler policy for robots.txt (getRobots), llms.txt note.
|
||||
* On by default (empty fields change nothing); false removes the tab; a
|
||||
* function gets the plugin's fields and returns the tab's fields (add, drop,
|
||||
|
||||
Reference in New Issue
Block a user