Edge Delivery Services how-tos · updated
Sections and Section Metadata in Edge Delivery Services
Authors split an Edge Delivery Services page into sections with a horizontal rule or ---. Every block and piece of default content is wrapped in a section, even if the author adds no breaks. A Section Metadata block inside a section turns its rows into data attributes on that section, and the Style property adds CSS classes.
What sections are for
Sections group content that belongs together, usually for visual reasons such as a different background colour. Developers rarely add behaviour to sections; they mostly style them. A section can hold several blocks and default content.
Section Metadata
A Section Metadata block is a two-column table placed in the section. Each row becomes a data attribute on the section element. The only well-known property is Style: its value is added as CSS classes, so an author can write 'Style | highlight, dark' and your CSS targets .section.highlight.
| Author adds in the section | Effect on the section element |
|---|---|
| Section Metadata: Style = dark | class includes dark |
| Section Metadata: Background = /media/hero.jpg | data-background attribute you can read in JS |
| No Section Metadata | Plain section with default classes |
Keep the list of styles short and documented; the same rule applies as for block options.
Sections and performance
The first section loads in the eager phase together with the LCP image. aem.live notes that the fewer blocks in the first section, the faster LCP can load, so avoid stacking several heavy blocks above the fold.
How to do it
- Agree with authors which visual groupings need a section break.
- Define allowed Style values and add CSS for each.
- Read any other Section Metadata data attributes in scripts if behaviour depends on them.
- Keep the first section light for a fast LCP.
Related pages on this site
Questions
How does an author start a new section?
With a horizontal rule in Word or Google Docs, or --- in Markdown-based authoring.
Is content without section breaks still in a section?
Yes. Blocks and default content are always wrapped in a section.
Which Section Metadata property is built in?
Style, whose values are added as classes; other rows become data attributes.
Sources
- aem.live: Markup, Sections, Blocks, and Auto Blocking (checked 10 Nov 2026)
- aem.live: Web Performance, Keeping your Lighthouse Score 100 (checked 10 Nov 2026)
Facts about Adobe's platform are from the linked Adobe pages, checked 10 Nov 2026. Explanations and examples are ours unless marked as Adobe's.