No description
Find a file
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
.forgejo/workflows Build on Alpine 2025-01-19 10:30:47 +01:00
.idea this 2025-01-10 14:43:24 +01:00
.mvn/wrapper feat: add Maven Wrapper and signing setup 2025-02-08 13:41:01 +01:00
example_workdir Improve example 2025-01-19 10:30:35 +01:00
src/main/java/eu/m724/blog refactor: extract template functions into TemplateExtension 2025-02-08 15:54:22 +01:00
.gitignore made it work 2025-01-08 18:40:11 +01:00
mvnw feat: add Maven Wrapper and signing setup 2025-02-08 13:41:01 +01:00
mvnw.cmd feat: add Maven Wrapper and signing setup 2025-02-08 13:41:01 +01:00
pom.xml chore: mark commons-cli as optional 2025-02-08 13:54:40 +01:00
README.md docs: update README for clarity 2025-02-08 13:59:52 +01:00
testkeystore.jks feat: add Maven Wrapper and signing setup 2025-02-08 13:41:01 +01:00

blog-software(config, template, content) = blog website

Usage

  1. Download the program from here
    Locate "Assets" and download the -shaded.jar
  2. Get a working directory. Example
    Don't forget to git init!
  3. Run the program:
     java -jar blog-0.0.1-shaded.jar
    

Important caveats

Generated site must be the root of a subdomain, like https://example.com/.
You can't put it in a directory, like https://example.com/blog/

API

There's no "API," but it's possible to integrate this into your Java project.

See Main.java for an example.
If you need a Maven dependency, see here