How can I split a HAML template into different partials/includes in PHP?

paranoya90

New Member
I am a PHP dev trying to start using HAML, using this implementation:http://phphaml.sourceforge.net/HAML looks awesome, but I don't understand if/how it supports partials (or includes, as they are called in the PHP world).I would like to have a master template HAML file that then goes and loads up a bunch of partials for all the little pieces. (Then I can reuse those pieces in other templates too.) In PHP or Ruby this would be really easy, is there any way to do this with HAML? thanks!dylan
 
Back
Top