Baking Static Sites with Python and Jinja

Matt Harzewski
May 30, 2020 · 6 min read

I have long been a proponent of static site generation, even before the (relatively) recent wave of tools like Jekyll, Hugo and Gatsby. In the pre-WordPress blogging world, having an engine such as Movable Type or the original churn through your content and produce plain old HTML files was the norm. It made sense; after all, the basic principle of a content-driven web site is an author pens an article once in awhile, and users do little beyond reading that content. Why waste time building the page on every request, slowing everything down, when your web server can throw…