ffs, i should have committed wayyy earlier

This commit is contained in:
Max Richter
2025-08-16 20:38:40 +02:00
commit 43644c4f40
25 changed files with 865 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
---
{
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 }. { . }"
}