summaryrefslogtreecommitdiff
path: root/internal/frontmatter/parser.go
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2025-09-04 00:57:01 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2025-09-04 00:57:01 +0700
commitd3b9bd54cc3e13b5a9d16404717551238eab18c6 (patch)
tree8fde836a89ac41272fe2e0f92f603be1f0fe809e /internal/frontmatter/parser.go
parent01e74276577b46dcebb8917f6d23ec150a70ad70 (diff)
downloadarticlator-d3b9bd54cc3e13b5a9d16404717551238eab18c6.tar.gz
articlator-d3b9bd54cc3e13b5a9d16404717551238eab18c6.zip
feat: integrate medley meta
Diffstat (limited to 'internal/frontmatter/parser.go')
-rw-r--r--internal/frontmatter/parser.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/frontmatter/parser.go b/internal/frontmatter/parser.go
index b301fee..299d4ee 100644
--- a/internal/frontmatter/parser.go
+++ b/internal/frontmatter/parser.go
@@ -16,6 +16,8 @@ type Metadata struct {
Thumbnail string `yaml:"thumbnail"`
Tags []string `yaml:"tags"`
Geolocation string `yaml:"geolocation"`
+ Medley string `yaml:"medley"`
+ MedleyPart int `yaml:"medleyPart"`
}
func ParseFrontmatter(content []byte) (metadata *Metadata, markdown []byte, err error) {