Bootstrapped during the 2026-06-06 BlockNinja consolidation. Was previously an unversioned directory inside ~/src/blockninja-themes/editorial. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Byline",
|
|
"description": "Article byline with author name, optional photo, optional read-time, and dateline.",
|
|
"type": "object",
|
|
"properties": {
|
|
"authorSlug": {
|
|
"type": "string",
|
|
"title": "Author Slug",
|
|
"description": "Slug of the author whose name and photo should be rendered.",
|
|
"x-editor": "slug"
|
|
},
|
|
"showPhoto": {
|
|
"type": "string",
|
|
"title": "Show Photo",
|
|
"description": "Render the author's avatar to the left of the name.",
|
|
"x-editor": "select",
|
|
"enum": ["false", "true"],
|
|
"default": "true"
|
|
},
|
|
"showReadTime": {
|
|
"type": "string",
|
|
"title": "Show Read Time",
|
|
"description": "Include the read-time estimate next to the dateline.",
|
|
"x-editor": "select",
|
|
"enum": ["false", "true"],
|
|
"default": "true"
|
|
},
|
|
"dateline": {
|
|
"type": "string",
|
|
"title": "Dateline",
|
|
"description": "Optional explicit dateline (e.g. \"London, March 14\"). Rendered in small caps.",
|
|
"x-editor": "text"
|
|
}
|
|
}
|
|
}
|