Block library: item headings follow the section; the leading block's first image is the LCP image
Found by ipal-doctor live-seo on the reference archive pages (entry list under a
page header without a picture): cards jumped h1 → h3, and the first card image
was lazy.
- itemHeadingLevel: items one below the section heading (h3 under h2, h2 under the
page h1, h2 when the block shows no heading); createBlockRegistry({ itemHeadings })
fixes a level per block. featureGrid, entryList, pricing, steps, team.
- blockPosition / blockHasImage (root): createPageRoute and the 404 view pass
firstImage next to isFirst; leadsWithImage marks the first image of the leading
block eager + fetchPriority high (hero, textMedia, featureGrid, gallery, team,
entryList); priorityImage: false turns it off.
- reference/ipal-doctor.json: the two live-seo silences removed; reference skills
and docs/agent/reference-site/INDEX.md refreshed.
- bin/ipal-blocks.mjs executable like the other bins.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
dd11bc8146
commit
6f56ef4205
@@ -54,6 +54,8 @@ export { Container, CONTAINER_WIDTHS } from '../modules/block-library/ui/Contain
|
||||
export type { ContainerProps, ContainerWidth } from '../modules/block-library/ui/Container.js'
|
||||
export { cx, parts } from '../modules/block-library/ui/cx.js'
|
||||
export type { PartClasses } from '../modules/block-library/ui/cx.js'
|
||||
export { itemHeadingLevel, leadsWithImage } from '../modules/block-library/ui/levels.js'
|
||||
export type { ItemHeadingLevel } from '../modules/block-library/ui/levels.js'
|
||||
export { Media } from '../modules/block-library/ui/Media.js'
|
||||
export type { ImageComponent, MediaProps } from '../modules/block-library/ui/Media.js'
|
||||
export { Section, SECTION_BACKGROUNDS } from '../modules/block-library/ui/Section.js'
|
||||
|
||||
Reference in New Issue
Block a user