I'd also point out that staticmatic, which is built for Haml, has partial functionality.
Yehuda Katz Architect | Engine Yard (ph) 718.877.1325 On Sun, May 23, 2010 at 1:40 PM, Nathan Weizenbaum <[email protected]> wrote: > Haml is built to be part of a larger framework, and to have that framework > take care of things like managing multiple template files. Things like > importing and partials should be handled by Ruby helper functions. This > allows the Haml syntax to remain clear and focused on the primary purpose of > templating. > > > On Sun, May 23, 2010 at 11:04 AM, dreamcat four <[email protected]>wrote: > >> Hi, >> >> Is there a way to insert haml into other haml? I could not see >> anything in the documentation. But then It struck me that maybe things >> like haml in rails and or sass / compass might already be doing >> something very much like that. For example the @import directive of >> SCSS. I cant imagine this hasnt been discussed before. >> >> So to take some independent and self-contained fragment of haml >> (indent starting from column 0), and to insert at some specific point >> within a larger parent haml. Of course if these are 2 strings, we >> might parse the string for some @import token and insert the >> referenced string at that point. But with the appropriate indent >> added. Then parse the combined result in the same (parent) context. >> >> Its appealing to me, who is writing a generic html table builder for >> haml. To construct the html table is a complex business, and can >> benefit greatly from using haml. So what may be the obstacles to that? >> >> >> Best regards, >> >> dreamcat4 >> [email protected] >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Haml" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected] <haml%[email protected]>. >> For more options, visit this group at >> http://groups.google.com/group/haml?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
