Layout tree (as in design/layout.json)
{
"pattern": "blog.bookish-index-of-essays",
"kind": "blog",
"grid": {
"date": "2-3",
"title": "4-9",
"author": "10-11"
},
"slots": [
"title",
"posts[4..10]"
],
"tree": {
"el": "box",
"gap": 5,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"align": "center",
"weight": 400,
"italic": true
},
{
"el": "repeat",
"slot": "posts",
"min": 4,
"max": 10,
"layout": "list",
"divider": true,
"of": {
"el": "grid",
"gap": 2,
"pad": [
2,
0
],
"align": "baseline",
"children": [
{
"el": "text",
"span": "2-3",
"slot": "meta",
"role": "small",
"transform": "uppercase",
"tracking": "wide"
},
{
"el": "text",
"span": "4-9",
"slot": "title",
"role": "h4",
"weight": 400,
"italic": true
},
{
"el": "text",
"span": "10-11",
"slot": "label",
"role": "small",
"align": "right"
}
]
}
}
]
}
}