{{/* index.html renders the full lectio-web page: top-bar controls (date, lectionary, version checkboxes, all/gospel toggle, display select, theme select) and the pre-rendered reading pane (#pane). The controls form (#controls) carries hx-get="/readings" and fires on any "change" bubbling up from its fields (htmx auto-includes an hx-get element's enclosing form fields as the request's query params -- no hx-include needed), so "display" needs no extra wiring beyond living inside #controls. The date +/- buttons are separate hx-get elements nested in the same form so their own field values are included too; they override "date" via hx-vals. The theme {{range .VersionOpts}} {{end}} {{.L.NavReader}} → {{.L.NavSettings}} {{.L.NavBookmarks}} {{/* Download the current readings; the URL is built from the live control values at click time so it always matches what's on screen. */}} {{.L.Export}}: txt md pdf · {{.L.Calendar}}
{{.Reading}}
{{/* AGPL-3.0 §13: the source offer must be visible to anyone using this server over a network, so it sits on every full page, not just here. */}}