blob: 0c57ddd5958344ac7faf513488077293067f6a5a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{{/* readings.html renders the reading pane fragment: one <section> 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 .}}
<section class="reading-section" data-part="{{.PartID}}">
<h2 class="heading">{{.Heading}}</h2>
{{if .Subtitle}}<p class="citation">{{.Subtitle}}</p>{{end}}
<div class="columns">
{{range .Columns}}
<div class="column">
<h3 class="version-label">{{.Label}}</h3>
{{range .Blocks}}
{{if .Refrain}}
<p class="block refrain">{{.Text}}</p>
{{else if .VNum}}
<p class="block verse"><span class="vnum">{{.VNum}}</span> {{.Text}}</p>
{{else}}
<p class="block">{{.Text}}</p>
{{end}}
{{end}}
</div>
{{end}}
</div>
</section>
{{end}}
|