site-config.json is now site-config.yml.
That was the only usage of JSON, so not much changes.
Dep removed: org.json:json
Added: org.snakeyaml:snakeyaml-engine
Signed-off-by: Minecon724 <git@m724.eu>
- Replaced string concatenation with StringBuilder for efficiency.
- Moved DateTimeFormatter to a static final field to improve reusability and readability.
- Improved structure and readability of RSS generation logic.
Signed-off-by: Minecon724 <git@m724.eu>
- Introduced `TemplateExtension` to encapsulate template functions.
- Moved `static` and `asset` functions from `BlogBuilder` to `TemplateExtension`.
- Adjusted package structure for `TemplateRenderer` and new `TemplateExtension`.
Signed-off-by: Minecon724 <git@m724.eu>
- Replace Git dependency in `Site` with `Path` for config files
- Refactor `Server` initialization and add browser-opening functionality
- Introduce `BlogBuilder` for blog building logic separation
- Simplify `Main` by delegating build and server logic to `BlogBuilder` and `Server`
- Add CLI enhancements with new options and improved readability
Signed-off-by: Minecon724 <git@m724.eu>
- Introduce `no-browser` CLI option to disable browser auto-open on server start
- Update logic to respect the `no-browser` flag
Signed-off-by: Minecon724 <git@m724.eu>
- Fix server address formatting in log message
- Update README with clearer formula-based description
- Adjust draft rendering logic to account for server mode
Signed-off-by: Minecon724 <git@m724.eu>