My script is getting a bit complex and it's not as easy to add new templates as I'd hoped...
Changes so far:
- I've added a config file that resides in the project directory.
- I've added a new config parameter, blog_in_index, that decides if the blog should be placed on the front page or not.
- Added a few more HTML tags to the html function
- And probably a few bits more that escapes me at the moment...
One of the biggest problem I have is that the /blog/index.html file gets it all wrong. Especially on a new site I'm building.
The main thing is that it just keep adding to the list instead of generating a new file and it seems like it doesn't add the footer.
Well, that's what I've got so far. It is fun, after all :-)