[Nottingham] Static Web Templating
daedalusfall at gmail.com
Thu Jan 28 10:40:51 UTC 2010
Michael Quaintance wrote:
> I'm designing a new website for a charity and I want to template it so
> that I can keep the content separated from the display. E.g. if I change
> the navigation to add a new section, I don't have to edit the existing
> pages by hand to reflect the update.
> I know I can do this with PHP, etc using things like Smarty but this is
> a really simple website, it doesn't need any dynamic elements. I just
> want something I can prepare pages in, run an update process on and it
> gives me the HTML, CSS, images, etc out the other end that I then SFTP
> to the hosting provider. Simples. Or at least it should be. Perhaps I'm
> not using the right search terms but I cannot find anything useful that
> doesn't seem much too dependent on the hosting server having PHP, ASP,
> Surely someone can suggest something for me to look into. In case it
> needs to be said, I have Linux (and Windows, and Mac) boxen I can
> install almost any transcluding package on but I really don't want to
> have to modify the Apache config for this site. It shouldn't be
> necessary and will increase hosting costs for the charity that I'm
> trying to keep to a minimum.
> Thanks in advance for any pointers you can give me.
> Nottingham mailing list
> Nottingham at mailman.lug.org.uk
I have some code that would be useful for this. If you still need a
solution mail me off list and I'll send it to you.
More information about the Nottingham