blob: 89ad65673049c2013b6cd12f6b88d554efce2955 (
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
27
28
|
{{/* readings-interlinear.html renders the reading pane fragment in
interlinear (verse-by-verse) layout: one <section> per liturgy.Section,
versions interleaved by chapter:verse -- each verse key printed once
(.vnum) inside a .ilverse block, followed by one .illine per version
that carries that verse, carrying its own .version-label + escaped
text. "pl" cannot participate (paragraph text has no verse numbers)
and was already substituted/dropped upstream; see
web.buildInterlinearViews. A section with nothing to interleave shows
.Note instead. */}}
{{range .}}
<section class="reading-section" data-part="{{.PartID}}">
<h2 class="heading">{{.Heading}}</h2>
{{if .Note}}
<p class="error">{{.Note}}</p>
{{else}}
<div class="display-interlinear">
{{range .Verses}}
<div class="ilverse">
<span class="vnum">{{.VNum}}</span>{{if .Marked}}<span class="vmark">*</span>{{end}}
{{range .Lines}}
<div class="illine"><span class="version-label">{{.Label}}</span> <span>{{.Text}}</span></div>
{{end}}
</div>
{{end}}
</div>
{{end}}
</section>
{{end}}
|