3 ms·
Let's also not forget StaticMatic http://www.staticmatic.net/ http://www.staticmatic.net/. It has great support for HAML and SASS. A helpful tip with for all
by terrellm 17y ago
Let's also not forget StaticMatic http://www.staticmatic.net/ 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.
- jrnkntl 17y agoRegarding 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.
- terrellm 17y agoIt 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.