Hacker News new | ask | show | jobs
by ggoss 2490 days ago
I also wrote my own static site generator using Python [0] that I use to generate my personal site [2], and that I introduced as a blog post here [1].

Posts are written in Markdown with simple formatting, templates are HTML/CSS with Jinja2 templating, and it includes support for things like automatic table-of-contents generation for posts, blog index pagination, tags, related posts (manually tagged, for now), comments (using utteranc.es and GitHub issues), and automatic image compression/scaling/caching (between builds). Eventually, I intend to add things automated 'related posts' list generation, but haven't gotten around to it yet.

[0]: https://github.com/ggoss/sitegen

[1]: https://garrettgoss.com/blog/2019/05/sitegen.html

[2]: https://garrettgoss.com