A simple templating static website engine
March 2, 2008
I’m looking for a website “engine” with a few very specific features. Actually, calling it a website engine is misleading, what I want is more a website generator.
I want something where I edit files containing HTML fragments, or something like restructured text. When I want to publish, I run a script that puts all these files through a templating engine that would work somewhat like Django’s inheritance mechanism, which injects the fragments in a given base template. Then, I can publish these pages as static content, with ubercaching configured to have good performance.
I don’t care much for any cool dynamic features. Making the timestamp at which the script runs available in the template engine might be cool, but that’s about it.
It’s simple enough for me to write this in Python, but before I start, does anyone know of a project that does this?
Edit: Found it! It’s webgen.