Layout tree (as in design/layout.json)
{
"pattern": "blog.constructivist-bulletin",
"kind": "blog",
"grid": {
"number": "1-2",
"entry": "3-6"
},
"slots": [
"title",
"sectionLabel",
"posts[4..8]"
],
"notes": "Each post is a six-column sub-grid inside its half of the page.",
"tree": {
"el": "box",
"gap": 3,
"children": [
{
"el": "box",
"mobile": "keep",
"dir": "row",
"align": "end",
"justify": "between",
"wrap": true,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"transform": "uppercase",
"tracking": "tight",
"leading": "tight"
},
{
"el": "text",
"slot": "sectionLabel",
"role": "label",
"transform": "uppercase",
"tracking": "wide"
}
]
},
{
"el": "divider",
"weight": 4
},
{
"el": "repeat",
"slot": "posts",
"min": 4,
"max": 8,
"layout": "grid",
"cols": 2,
"gap": 4,
"of": {
"el": "box",
"pad": [
3,
0
],
"border": "top",
"children": [
{
"el": "grid",
"cols": 6,
"gap": 2,
"children": [
{
"el": "text",
"span": "1-2",
"color": "link",
"slot": "number",
"role": "number",
"step": 5,
"leading": "tight"
},
{
"el": "box",
"span": "3-6",
"gap": 1,
"children": [
{
"el": "text",
"slot": "meta",
"role": "small",
"transform": "uppercase"
},
{
"el": "text",
"slot": "title",
"role": "h3",
"transform": "uppercase",
"tracking": "tight",
"leading": "tight"
},
{
"el": "text",
"slot": "body",
"role": "small",
"maxCh": 40
}
]
}
]
}
]
}
}
]
}
}