Commit graph

14 commits

Author SHA1 Message Date
Minecon724
053ce27f3c
License
Some checks are pending
/ build (push) Waiting to run
Signed-off-by: Minecon724 <git@m724.eu>
2025-03-06 17:54:50 +01:00
Minecon724
1354d94817
Some refactoring
Some checks are pending
/ build (push) Waiting to run
Signed-off-by: Minecon724 <git@m724.eu>
2025-03-06 15:11:10 +01:00
Minecon724
d03f90b7f6
New hashing
Some checks are pending
/ build (push) Waiting to run
Signed-off-by: Minecon724 <git@m724.eu>
2025-03-04 16:24:35 +01:00
Minecon724
fff71d1140
Asset remapping / Cache buster
Some checks are pending
/ build (push) Waiting to run
Signed-off-by: Minecon724 <git@m724.eu>
2025-03-04 14:19:31 +01:00
Minecon724
121a2c6915
Support folders
Some checks failed
/ build (push) Has been cancelled
Closes #3

Signed-off-by: Minecon724 <git@m724.eu>
2025-02-27 14:34:36 +01:00
Minecon724
0aadf69a42
Use slf4j
All checks were successful
/ build (push) Successful in 31s
Signed-off-by: Minecon724 <git@m724.eu>
2025-02-25 09:42:30 +01:00
Minecon724
159519c94d
Configurable compressors
All checks were successful
/ build (push) Successful in 36s
Signed-off-by: Minecon724 <git@m724.eu>
2025-02-24 14:43:52 +01:00
Minecon724
1557a47987
Rename site-config to site.yml
Signed-off-by: Minecon724 <git@m724.eu>
2025-02-22 16:35:30 +01:00
Minecon724
a7ab3b400c
feat: Render options
All checks were successful
/ build (push) Successful in 35s
for now only includes compress true or false

Signed-off-by: Minecon724 <git@m724.eu>
2025-02-22 16:31:11 +01:00
Minecon724
950645dcef
feat: Compression
All checks were successful
/ build (push) Successful in 37s
and refactoring

Signed-off-by: Minecon724 <git@m724.eu>
2025-02-20 15:29:47 +01:00
Minecon724
d155079514
feat!: Use YAML instead of JSON
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>
2025-02-12 16:17:43 +01:00
Minecon724
8e4fae069d
refactor: extract template functions into TemplateExtension
- 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>
2025-02-08 15:54:22 +01:00
Minecon724
b339d6d239
docs: add Javadoc for core classes
- Added Javadoc comments to `Site`, `Server`, `Feed`, `BlogBuilder`, `TemplateRenderer`, and `Post` classes.
- Documented constructors, methods, and class-level descriptions.
- Enhanced clarity around parameters, return values, and exceptions.

Signed-off-by: Minecon724 <git@m724.eu>
2025-02-08 15:50:32 +01:00
Minecon724
6d58c7d232
feat: overhaul blog system architecture
Some checks are pending
/ build (push) Waiting to run
- 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>
2025-02-08 12:44:53 +01:00