diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-27 12:53:34 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-27 12:53:34 +0200 |
| commit | 809a47a227540ad8b8b2ac28a1bbbc2f115b7406 (patch) | |
| tree | 03e609b85ebef46867166469b79a1c01b6c93f7d /internal/config/config.ini | |
| parent | 06e32c85a5b8b0aaf5539a989347fbe68e27b95e (diff) | |
| download | lectio-809a47a227540ad8b8b2ac28a1bbbc2f115b7406.tar.gz lectio-809a47a227540ad8b8b2ac28a1bbbc2f115b7406.zip | |
feat(config): migrate to INI + one-shot TOML conversion + calendar Selection
config.Load/Save now read/write config.ini; a pre-existing config.toml is
converted once (old file kept, reversible). New [calendar] section
(epiphany/ascension/corpus_christi) + Config.Selection() feeding the engine.
Config struct API unchanged, so daily-readings and web /settings keep working.
Diffstat (limited to 'internal/config/config.ini')
| -rw-r--r-- | internal/config/config.ini | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/internal/config/config.ini b/internal/config/config.ini new file mode 100644 index 0000000..1e5ed94 --- /dev/null +++ b/internal/config/config.ini @@ -0,0 +1,26 @@ +# lectio configuration (INI). +# Interface/behavior settings; the computed liturgical calendar reads the +# [calendar] section. Lists are comma-separated. Booleans are true/false. + +schema_version = 1 +lectionary = new +traditional_lang = pl +versions = bt, wuj, vul, grb, drb +default_version = bt +width = 0 +all = false +offline = false +ui_language = en +sigla_style = auto +web_theme = transfiguration +web_port = 0 +web_display = horizontal +web_mono = false +web_versions = +pager = + +# Computed-calendar national placement options (defaults = Universal Roman). +[calendar] +epiphany = fixed +ascension = thursday +corpus_christi = thursday |
