I want to serve static HTML pages using nginx
. Then, I will use jQuery
to update DIVs, SPANs, etc via AJAX calls from a Padrino server.
I like creating my web pages in HAML because it's easier but in production, I don't want to serve HAML templates. Just raw, HTML at the speed of nginx.
Is there an easy way to do this?
What would be ideal would be a service that automatically renders HAML, partials, etc into the public folder that nginx could serve.