SEO/GEO tools and project requests: site index, IndexNow, page JSON-LD, fixes
GEO / SEO
- collectSiteIndex: one list of public docs per locale (pages + archive
entries) on sitemap rules; llms.txt/llms-full and MCP list_pages now include
blog/content entries and every language. Fixes hard-coded "## Strony" heading
and homepage not collapsing to the locale root in llms.txt.
- Markdown frontmatter: canonical url + updated date.
- Metadata: X/Twitter card, OG image width/height/alt, og:type article with
published/modified times for entries.
- Fix: Site Settings "defaultShareImage" was never used — now the OG fallback.
- getPageJsonLd (createContentHelpers): WebPage/CollectionPage/BlogPosting,
BreadcrumbList from the real route, FAQPage via a project mapper.
- IndexNow (opt-in ipalKit({ indexNow: true })): submit published URLs in all
languages, key generated in Site Integrations or INDEXNOW_KEY, key route.
- sameAs profiles in Site Settings + sameAsUrls(); sitemap <image:image>.
From project reports
- Fix: package exports were missing ./env and ./fluid.css although the docs
import them (TS2307); regression test checks every documented subpath.
- Fix: plugins run before Payload adds its default users collection, so roles
and 2FA had nothing to attach to — ipalKit injects an auth collection when
the project has none (project's own one wins). Audit no longer errors on it.
- createMarkdownRoute, createSubmitAction (/server, headers injected).
- formatOpeningHours (PL/EN/DE text → schema.org), used by
buildLocalBusinessJsonLd, which also takes a schema.org `type`.
- buildNavigationJsonLd straight from the header global.
- buildCsp googleMaps: full Maps JS API domain set; values de-duplicated.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -10,6 +10,8 @@ type SettingsShape = {
|
||||
}
|
||||
|
||||
export type SiteMetaConfig = {
|
||||
/** Site Settings → defaultShareImage (populated upload), used when a page has no OG image. */
|
||||
defaultShareImage?: null | Record<string, unknown>
|
||||
/**
|
||||
* Home slug per locale, e.g. { pl: 'strona-glowna', de: 'startseite' }. A map
|
||||
* (not a single string) so multilingual homepages collapse to root in EVERY
|
||||
@@ -99,7 +101,9 @@ export async function readSiteMetaConfig({
|
||||
homeSlug = { [locale]: homepage.slug }
|
||||
}
|
||||
|
||||
const share = settings.defaultShareImage
|
||||
return {
|
||||
defaultShareImage: share && typeof share === 'object' ? (share as Record<string, unknown>) : null,
|
||||
siteDescription: (settings.siteDescription as string | undefined) ?? null,
|
||||
siteName: (settings[siteNameField] as string | undefined) ?? null,
|
||||
// The panel stores '|'; titles need it padded.
|
||||
|
||||
Reference in New Issue
Block a user