Static Website Template Engine

Written by on

I have made some static webpages recently and I have been meaning to make an extremely simple template engine that will drive these sites.  I always have a library of functions for getting html headers, footers and common functions, but I didn't have the template portion.  Here is a very easy to implement system that allows you to make static websites that do not need databases that load very fast.  It basically lets you define a set of pages and then will automatically serve the correct page from a folder.  This is instead of having to make new folders and index files for each new page.

Real Time Web Analytics ^