big tings
This commit is contained in:
@@ -3,7 +3,12 @@
|
||||
path: .
|
||||
codec: yaml
|
||||
fields:
|
||||
- path: name
|
||||
- path: "@context"
|
||||
codec: const
|
||||
value: https://schema.org
|
||||
- path: "@type"
|
||||
codec: const
|
||||
value: Recipe
|
||||
- path: image
|
||||
- path: author.@type
|
||||
codec: const
|
||||
@@ -25,8 +30,7 @@
|
||||
path: recipeIngredient
|
||||
codec: list
|
||||
required: true
|
||||
item:
|
||||
template: "- { . }"
|
||||
listTemplate: "- { . }"
|
||||
}
|
||||
|
||||
## Steps
|
||||
@@ -34,6 +38,5 @@
|
||||
path: recipeInstructions
|
||||
codec: list
|
||||
required: true
|
||||
item:
|
||||
template: "{ @index }. { . }"
|
||||
listTemplate: "{ @index }. { . }"
|
||||
}
|
10
registry/templates/_default.marka
Normal file
10
registry/templates/_default.marka
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
{
|
||||
path: .
|
||||
codec: yaml
|
||||
fields:
|
||||
- path: "@type"
|
||||
codec: const
|
||||
value: Recipe
|
||||
}
|
||||
---
|
Reference in New Issue
Block a user