search for: template_page

Displaying 1 result from an estimated 1 matches for "template_page".

2006 Mar 27
1
rio instabilities
...;'m writing an app that generates folders full of content. The rough process of what happens when you run the "Generate" method on a "Site" object is: it copies a template directory to a directory named (site.directory) for each line in site.pages it copies (site.directory)/template_page.html to (site.directory)/(pagename).html it then does a great big contents.gsub through each file in the directory, replacing some meta-template tags with content. Now, it creates the files fine, and copies them all fine... but often throws errors saying "you can''t gsub here" an...