No description
Find a file
Kumi c4f333e2a5
All checks were successful
Build and Deploy Static Site / build (push) Successful in 2m20s
feat: Add blog generation functionality
Introduces a static blog generation feature leveraging markdown
for content files and template rendering for HTML output.

Imports new dependencies for YAML parsing and markdown conversion.
Enhances site structure by copy-assets function to ensure non-markdown
contents like images are maintained.

Modifies templates for relative asset path resolution to allow
correct linking of stylesheets and images.

Helps in managing content workflow by auto-generating paginated
lists and individual post pages, improving content accessibility.
2024-11-27 09:37:39 +01:00
.forgejo/workflows feat(build): add theme parameter to static site generator 2024-09-24 08:15:07 +02:00
.vscode chore: configure VS Code to recognize Jinja templates 2024-09-18 12:17:58 +02:00
assets fix: Center-aligns logo in navbar 2024-11-19 21:26:21 +01:00
blog/2024112701-test feat: Add blog generation functionality 2024-11-27 09:37:39 +01:00
contrib feat: Add uWSGI config for privatecoffee-dev 2024-06-03 08:33:31 +02:00
data fix: Removes Tor alternative from Element 2024-11-26 08:35:02 +01:00
helpers fix(data): standardize month formatting to two digits 2024-10-04 07:33:25 +02:00
templates feat: Add blog generation functionality 2024-11-27 09:37:39 +01:00
.gitignore chore: update .gitignore to include build directory 2024-07-01 14:53:33 +02:00
LICENSE Add LICENSE 2023-03-09 17:26:44 +00:00
main.py feat: Add blog generation functionality 2024-11-27 09:37:39 +01:00
README.md feat: add built-in HTTP server to preview static site 2024-07-10 09:37:55 +02:00
requirements.txt feat: Add blog generation functionality 2024-11-27 09:37:39 +01:00

Private.coffee Website

Support Private.coffee!

This is the source code for the Private.coffee website.

It is a simple Jinja2 static website generator that compiles the templates in the templates directory in conjunction with the JSON files in the data directory to generate the static HTML files in the build directory.

Development

To run the website locally, you will need to have Python 3 installed. Then, you can install the dependencies and run the website with the following commands:

pip install -r requirements.txt
python main.py

The website will be built into the build directory, and you can view it by opening the index.html file in your browser or using the included HTTP server (python main.py --serve).

License

This project is licensed under the MIT License - see the LICENSE file for details.

Attribution

This website is built using the Bootstrap framework and Phosphor Icons.