feat: refactor some shit

This commit is contained in:
Max Richter
2025-08-17 00:46:45 +02:00
parent 43644c4f40
commit cc8f967f07
20 changed files with 459 additions and 209 deletions

View File

@@ -1,60 +0,0 @@
---
{
path: .
codec: yaml
required: true
assert:
"@context": https://schema.org/
"@type": Recipe
fields:
- path: name
codec: text
required: true
- path: image
codec: text
required: true
- path: author.@type
codec: const
value: Person
- path: author.name
codec: text
required: true
- path: datePublished
codec: text
optional: true
- path: description
codec: text
optional: true
- path: prepTime
codec: text
optional: true
- path: cookTime
codec: text
optional: true
- path: recipeYield
codec: text
optional: true
}
---
# { name | text,required }
{ description | text,optional }
## Ingredients
{
path: recipeIngredient
codec: list
required: true
item:
template: "- { . }"
}
## Steps
{
path: recipeInstructions
codec: list
required: true
item:
template: "{ @index }. { . }"
}