feat: added keyword codec (partially works)
This commit is contained in:
@@ -21,9 +21,11 @@
|
||||
value: Person
|
||||
hidden: true
|
||||
- path: datePublished
|
||||
- path: articleSection
|
||||
}
|
||||
---
|
||||
|
||||
# { .headline }
|
||||
# { headline }
|
||||
{ keywords | hashtags }
|
||||
|
||||
{ .articleBody }
|
||||
{ articleBody }
|
||||
|
@@ -20,6 +20,7 @@
|
||||
hidden: true
|
||||
value: Person
|
||||
- path: author.name
|
||||
- path: author.email
|
||||
- path: datePublished
|
||||
- path: prepTime
|
||||
- path: cookTime
|
||||
@@ -28,6 +29,7 @@
|
||||
---
|
||||
|
||||
# { name | text }
|
||||
{ keywords | hashtags }
|
||||
|
||||
{ description | text }
|
||||
|
||||
|
42
registry/templates/Review.marka
Normal file
42
registry/templates/Review.marka
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
{
|
||||
path: .
|
||||
codec: yaml
|
||||
fields:
|
||||
- path: "@context"
|
||||
codec: const
|
||||
value: https://schema.org
|
||||
hidden: true
|
||||
- path: "@schema"
|
||||
codec: const
|
||||
value: Review
|
||||
hidden: true
|
||||
- path: "@type"
|
||||
codec: const
|
||||
value: Review
|
||||
- path: tmdbId
|
||||
- path: image
|
||||
- path: author.name
|
||||
- path: author.@type
|
||||
codec: const
|
||||
value: Person
|
||||
hidden: true
|
||||
- path: datePublished
|
||||
- path: itemReviewed.name
|
||||
- path: reviewRating.ratingValue
|
||||
- path: reviewRating.bestRating
|
||||
codec: const
|
||||
value: 5
|
||||
hidden: true
|
||||
- path: reviewRating.worstRating
|
||||
codec: const
|
||||
value: 1
|
||||
hidden: true
|
||||
- path: reviewBody
|
||||
}
|
||||
---
|
||||
|
||||
# { itemReviewed.name }
|
||||
{ keywords | hashtags }
|
||||
|
||||
{ reviewBody }
|
Reference in New Issue
Block a user