mwlib is a homepage framework which provides everything you need for small-to-medium-sized Web sites, including its own template engine.