From b72b81c410c161797eb525a6231b0517b4def993 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Thu, 23 Jul 2026 14:20:18 +0200 Subject: web: HTML render + embedded themes --- internal/web/templates/readings.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 internal/web/templates/readings.html (limited to 'internal/web/templates') diff --git a/internal/web/templates/readings.html b/internal/web/templates/readings.html new file mode 100644 index 0000000..0c57ddd --- /dev/null +++ b/internal/web/templates/readings.html @@ -0,0 +1,26 @@ +{{/* readings.html renders the reading pane fragment: one
per + liturgy.Section, with one .column per requested version. Role text + (heading, citation/subtitle, verse number, refrain) is wrapped in + class="..." spans so theme CSS can restyle it; base.css owns layout. */}} +{{range .}} +
+

{{.Heading}}

+ {{if .Subtitle}}

{{.Subtitle}}

{{end}} +
+ {{range .Columns}} +
+

{{.Label}}

+ {{range .Blocks}} + {{if .Refrain}} +

{{.Text}}

+ {{else if .VNum}} +

{{.VNum}} {{.Text}}

+ {{else}} +

{{.Text}}

+ {{end}} + {{end}} +
+ {{end}} +
+
+{{end}} -- cgit v1.3