diff options
Diffstat (limited to 'internal/web/templates/lookup.html')
| -rw-r--r-- | internal/web/templates/lookup.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/internal/web/templates/lookup.html b/internal/web/templates/lookup.html new file mode 100644 index 0000000..c8bc2a7 --- /dev/null +++ b/internal/web/templates/lookup.html @@ -0,0 +1,20 @@ +{{/* lookup.html renders the passage-lookup fragment: one .column per + requested version, each version's matched bible.Verse rows plus any + sub-refs the corpus had no entry for. Structurally mirrors + readings.html's .columns/.column/.block classes so theme CSS restyles + both panes the same way. */}} +{{if .}} +<div class="columns"> + {{range .}} + <div class="column"> + <h3 class="version-label">{{.Version}}</h3> + {{range .Verses}} + <p class="block verse"><span class="vnum">{{.Chapter}}:{{.Verse}}</span> {{.Text}}</p> + {{end}} + {{if .Missing}} + <p class="block error">brak: {{range $i, $m := .Missing}}{{if $i}}, {{end}}{{$m}}{{end}}</p> + {{end}} + </div> + {{end}} +</div> +{{end}} |
