diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-23 14:10:09 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-23 14:10:09 +0200 |
| commit | e4ac5326a42e45281ac8cdcf45757330bae007e9 (patch) | |
| tree | a24dba9ab17f60f63e1add3077db6ab897088853 /cmd/lectio-web/main.go | |
| parent | f03bffb446403c775cc92dbbb966dca4b4ea9ebd (diff) | |
| download | lectio-e4ac5326a42e45281ac8cdcf45757330bae007e9.tar.gz lectio-e4ac5326a42e45281ac8cdcf45757330bae007e9.zip | |
config: add web_theme/web_port fields
Add WebTheme (default: "transfiguration") and WebPort (default: 0) to Config
for the upcoming lectio-web binary. WebTheme resolves theme names (built-in
or user files) later in internal/web; WebPort 0 means auto-pick a free port.
- Updated Config struct with new fields
- Set defaults in Default()
- Updated embedded seed config.toml with documentation
- Added TDD tests: TestWebDefaults and TestWebLoadsFromSeed
- Existing tests (TestLoadSeeds, TestLoadOverride) still pass
Diffstat (limited to 'cmd/lectio-web/main.go')
0 files changed, 0 insertions, 0 deletions
