summaryrefslogtreecommitdiffci
path: root/internal/frontmatter/parser.go
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2025-09-06 19:18:00 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2025-09-06 19:18:00 +0700
commit13a66428533c5f870901343dd505bcb835015430 (patch)
tree5c63fabb02fa9c55c9e7cf2c26c2a35a90806f35 /internal/frontmatter/parser.go
parent0802dc3a8835bc19cf994f9eb2b462df604d4262 (diff)
downloadweb-13a66428533c5f870901343dd505bcb835015430.tar.gz
web-13a66428533c5f870901343dd505bcb835015430.zip
feat: home page
feat: my random fact giver for a home page feat: stricter cors policy refactor: move lightlibrary css onto my bucket
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 1a521c0..83312dc 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) {