Haml Source Code File
3.5 | 4 Votes
What is a HAML file?
One prominent feature of Haml is that it replaces conventional tags (<>) with the percent sign (%) in order to save time and appear “cleaner.”
An example of simple Haml language and the HTML language generated through the template engine:
%h1 My First Heading
<h1>My First Heading</h1>
NOTE: You can switch over from ERB to Haml by replacing the "erb" file extension on ERB files with "haml.”