feat: renderer
This commit is contained in:
@@ -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 }. { . }"
|
||||
}
|
||||
|
Reference in New Issue
Block a user