blob: a1cbcdb26805fa3042b0a6cbad5b28bb863d72e9 (
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
|
{{/* 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>
<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><span class="vtext">{{.Text}}</span></p>
{{else}}
<p class="block">{{.Text}}</p>
{{end}}
{{end}}
</div>
{{end}}
</div>
</section>
{{end}}
|