correction yaml creation - extraction yaml + html preparation

This commit is contained in:
github_username_here
2026-03-23 19:05:01 +01:00
parent 874ba49512
commit f7e63ce1e1
156 changed files with 8565 additions and 8512 deletions

View File

@@ -1,17 +1,28 @@
package models
type Yaml struct {
Strophes []Strophe `yaml:"strophes"`
PoeticLines []PoeticLine `yaml:"poetic-lines"`
}
type Strophe struct {
Lines []Line `yaml:"lines"`
}
type Line struct {
Verse int `yaml:"verse"`
Text string `yaml:"text"`
type PoeticLine struct {
Cola []Colon `yaml:"cola"`
Who string `yaml:"who"`
To string `yaml:"to"`
Of string `yaml:"Of"`
Of string `yaml:"of"`
}
type Colon struct {
Verse int `yaml:"verse"`
Text string `yaml:"text"`
}
type Strophe struct {
Who string
To string
Of string
Colas [][]Colon
}
type Psalm struct {
Strophes []Strophe
}