feat: added keyword codec (partially works)

This commit is contained in:
2025-08-19 19:06:08 +02:00
parent 210b31aef8
commit 69c2550f44
24 changed files with 964 additions and 80 deletions

View File

@@ -21,9 +21,11 @@
value: Person
hidden: true
- path: datePublished
- path: articleSection
}
---
# { .headline }
# { headline }
{ keywords | hashtags }
{ .articleBody }
{ articleBody }

View File

@@ -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 }

View 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 }