Skip to content

feat: support section metadata handling for new rendering v2#222

Merged
mhaack merged 3 commits into
mainfrom
section-metadata
Jun 22, 2026
Merged

feat: support section metadata handling for new rendering v2#222
mhaack merged 3 commits into
mainfrom
section-metadata

Conversation

@mhaack

@mhaack mhaack commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Description

Adopts the same section metadata processing introduced in helix-html-pipeline#1059. When a div.section-metadata block is found in the body, its key/value rows are extracted and applied to the parent section: style values become CSS class names, all other keys become data-* attributes. The block itself is then removed from the DOM. Unlike the pipeline implementation, no feature flag is needed — the transform always runs.

fixes: https://jira.corp.adobe.com/browse/SITES-45376

@mhaack mhaack merged commit ee59ecd into main Jun 22, 2026
3 checks passed
@mhaack mhaack deleted the section-metadata branch June 22, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants