Layout tree (as in design/layout.json)
{
"pattern": "blog.broadsheet-more-stories",
"kind": "blog",
"grid": {
"flag": "1-12",
"stories": "1-12"
},
"slots": [
"sectionLabel",
"cta",
"posts[4..8]"
],
"tree": {
"el": "box",
"gap": 2,
"children": [
{
"el": "box",
"dir": "row",
"gap": 3,
"align": "baseline",
"justify": "between",
"children": [
{
"el": "text",
"slot": "sectionLabel",
"role": "h4",
"step": 3,
"font": "heading"
},
{
"el": "button",
"slot": "cta",
"variant": "link",
"arrow": true
}
]
},
{
"el": "divider",
"weight": 1
},
{
"el": "repeat",
"slot": "posts",
"min": 4,
"max": 8,
"layout": "grid",
"cols": 4,
"gap": 3,
"divider": true,
"of": {
"el": "box",
"gap": 1,
"children": [
{
"el": "media",
"slot": "image",
"aspect": "3/2",
"treatment": "grayscale"
},
{
"el": "text",
"slot": "meta",
"role": "small",
"transform": "uppercase",
"tracking": "wide",
"font": "mono"
},
{
"el": "text",
"slot": "title",
"role": "h4",
"weight": 700,
"leading": "tight",
"font": "body"
},
{
"el": "text",
"slot": "body",
"role": "small",
"font": "body"
}
]
}
}
]
}
}