BitlyTwiser/zlog
A personal blog for the lazy, written purely in zig and html
A personal blog for the lazy, written purely in Zig, Markdown, and HTML
See it in action: https://bitlytwiser.com
The goal of this project is a small, simple blog written purely in zig, markdown, and some HTML using some type of static site generation tool.
There are certainly much better ways to perform a blog, but this was my take on it and having some fun with Zig and Zap :)
You can adjust the base CSS html/styles.css to fit your needs and the 404 page to be what you wish.
Otherwise, the code will generate the rest based on the data in the posts
folder.
All you must do is add a post and the rest will be created for you :)
home.md
markdown like so:## Articles
- [Post 1: Test](./test_blog_post_1)
- [Post 2: Building a Static Site Generator](post2.html)
- [Post 3: Exploring Rust and Go](post3.html)
This is the only step that is not automatic. I figured, perhaps someone does not want articls and blogs, so I stopped auto injecting things into the home to allow for it to be generic. If you hate this, let me know.