18 lines
610 B
JSON
18 lines
610 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "chrnx/topic-hero",
|
|
"version": "0.4.4",
|
|
"title": "Topic Hero",
|
|
"category": "theme",
|
|
"description": "A fixed-art hero for an editorial topic.",
|
|
"textdomain": "chrnx",
|
|
"attributes": {
|
|
"topic": { "type": "string", "enum": ["research", "code", "literature", "music", "podcasts", "life", "gaming"] },
|
|
"headingLevel": { "type": "integer", "default": 2, "enum": [2, 3, 4, 5, 6] }
|
|
},
|
|
"supports": { "html": false, "align": ["wide", "full"] },
|
|
"style": "file:./style.css",
|
|
"render": "file:./render.php"
|
|
}
|