{{/* index.html renders the full lectio-web page: essential controls on the left (date, lectionary, version checkboxes, all/gospel, layout, mono) and, pushed to the right, the nav + download links. Theme lives only in /settings now. The controls form (#controls) carries hx-get="/readings" and fires on any bubbling "change", so the readings pane re-fetches when a field changes. The date arrows step the date input by a day client-side and dispatch its change (so navigation is relative to the CURRENT date and updates the shown day). mono lives OUTSIDE the form so toggling it doesn't refetch readings. */}} lectio
{{/* Always-present marker so the server can tell a form submit with every version unchecked (show nothing) from a fresh visit (config default). */}} {{range .VersionOpts}} {{end}} {{/* mono lives in the form but stops its change from bubbling, so toggling it flips the body class without refetching the readings. */}} {{/* Utility links, pushed to the right (see .controls-side). The export URLs are built from the live control values at click time. */}} {{.L.NavReader}} → {{.L.NavSettings}} {{.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. */}}