Re: [haml] static html-website with .haml -> import other .haml-files

Skip to first unread message

Ed Drain

Apr 29, 2014, 9:26:20 AM4/29/14
are you doing this in Rails?  

On Tue, Apr 29, 2014 at 9:17 AM, usucc <> wrote:
First I have to say that I am an absoute newbie on writing templates in .haml. I have to write 5 - 6 html-sites.
I can go the way to write all this sites in one separate file. But I think this is no good way. Some parts of a website - like navigation, header or footer - always the same.
Is it possible to importe other .haml-files in a .haml-file? So I can make a "nav.haml", a "header.haml" and a" footer.haml"-file and import them in my 5 - 6 other .haml-filse, who a represent my website.

You received this message because you are subscribed to the Google Groups "Haml" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

Reply all
Reply to author
0 new messages