templatelib
Very simple and powerful templating and include system in Python. Use this to produce your website to keep your layout flexible. You put some tags in your html, you write a little configuration script, and templatelib produces your flat pages. Run through the README for a clearer view.
The whole of darkcoding was generated with templatelib (prior to the October 2005 move to Wordpress), for which it was written.
templatelib allows you to mix static and dynamic files in a single page, and treat the dynamic as a separate Python program, and the static as an HTML file. At deploy time they will be safely merged.
Features include:
- Static site generation
- Keyword substituion
- Whole file include
- Global and local level values
- Used to generate darkcoding !
Currently only tested on Linux, but should be portable
RSS / Atom feed
Emmanuels said,
November 25, 2005 at 21:39
how can i mix static and dynamic files