News for hackers. Stuff that matters.
Re:Nanoc: a Ruby site compiler that generates static HTML by terrellm on Friday December 25, 2009 @06:39PM (#1015493)
Let's also not forget StaticMatic http://www.staticmatic.net/. It has great support for HAML and SASS.

A helpful tip with for all of these static generators - if you need PHP or other code, just put it in the static HTML and have your deploy script rename the files to .PHP before rsync'ing them.

Re:Nanoc: a Ruby site compiler that generates static HTML by jrnkntl on Saturday December 26, 2009 @08:31AM (#1015941)
Regarding your PHP 'tip', that kinda makes the whole point of using a static generator in the first place a bit useless. And when you decide to do it anyway, configure your apache (or whatever you like) to parse .html as php.
Re:Nanoc: a Ruby site compiler that generates static HTML by terrellm on Saturday December 26, 2009 @12:42PM (#1016102)
It doesn't make it useless as all of my site is static except the contact form. To utilize another option just for a few lines of code in a contact form didn't seem practical to me.

I'm sure open to suggestions though.

Thanks for the tip on configuring Apache... I may look into that next time. I've got my .htaccess set to rewrite the urls to extensionless, so it didn't make too much of a difference.