diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-27 14:59:14 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-27 14:59:14 +0200 |
| commit | cb3379f41c06a94085c77fe359709b46712850dc (patch) | |
| tree | 032801111764c83c3ab089ed101ba4d1222a9abd /internal/web/templates/settings.html | |
| parent | a13dd6224a095242da54062e4775570c4f16a718 (diff) | |
| download | lectio-cb3379f41c06a94085c77fe359709b46712850dc.tar.gz lectio-cb3379f41c06a94085c77fe359709b46712850dc.zip | |
feat: books.toml -> books.ini, multi-language (add Latin dialect), config-scoped citation display
books.ini with [en]/[pl]/[la]; parseBooks reads INI (bible drops go-toml).
Latin dialect resolves EF citations (Eccli->Sirach, Apoc->Revelation, Luc...);
sigla_style gains 'latin'. Reading citations now DISPLAY in the configured
sigla (FormatRef(SiglaLang)), not raw English. One-shot books.toml->books.ini
user migration (go-toml now config-only). Web settings editor -> books.ini.
Diffstat (limited to 'internal/web/templates/settings.html')
| -rw-r--r-- | internal/web/templates/settings.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/web/templates/settings.html b/internal/web/templates/settings.html index be08e6d..e2ee39e 100644 --- a/internal/web/templates/settings.html +++ b/internal/web/templates/settings.html @@ -1,5 +1,5 @@ {{/* settings.html — lectio-web /settings page: a form for every config - setting plus a raw books.toml editor. A plain POST form (no htmx) -- + setting plus a raw books.ini editor. A plain POST form (no htmx) -- saving redirects (PRG) back here with ?saved=1. On a validation error the form re-renders with the submitted values and an inline message instead of redirecting. Self-contained and theme-aware, like index.html. */}} @@ -100,7 +100,7 @@ <input type="text" name="pager" value="{{.Cfg.Pager}}"> </label> - <label>books.toml + <label>books.ini <textarea name="books" rows="20">{{.Books}}</textarea> </label> |
