feat: renderer

This commit is contained in:
2025-08-19 17:20:24 +02:00
parent 6db87db325
commit 210b31aef8
38 changed files with 727 additions and 299 deletions

View File

@@ -0,0 +1,29 @@
---
{
path: .
codec: yaml
fields:
- path: "@context"
codec: const
value: https://schema.org
hidden: true
- path: "@schema"
codec: const
value: Article
hidden: true
- path: "@type"
codec: const
value: Article
- path: image
- path: author.name
- path: author.@type
codec: const
value: Person
hidden: true
- path: datePublished
}
---
# { .headline }
{ .articleBody }

View File

@@ -6,12 +6,18 @@
- path: "@context"
codec: const
value: https://schema.org
hidden: true
- path: "@schema"
codec: const
value: Recipe
hidden: true
- path: "@type"
codec: const
value: Recipe
- path: image
- path: author.@type
codec: const
hidden: true
value: Person
- path: author.name
- path: datePublished
@@ -21,7 +27,7 @@
}
---
# { name | text,required }
# { name | text }
{ description | text }
@@ -29,7 +35,6 @@
{
path: recipeIngredient
codec: list
required: true
listTemplate: "- { . }"
}
@@ -37,6 +42,5 @@
{
path: recipeInstructions
codec: list
required: true
listTemplate: "{ @index }. { . }"
}