| |
StaticMatic |
Hi, I have been enjoying working with staticmatic for the last week.
According to documentation on the website: http://staticmatic.rubyforge.org/how_to_use.html
Partials are invoked, passing local variables in named parameter, like
= partial('mypartial', :locals => { :title => 'My Title' })
But I couldn't get that to work. Instead, I just passed in a hash,
= partial('mypartial', { :title => 'My Title' })
Cheers,
- Noah
I am new to haml & sass, but really enjoy it.
so:
and everything worked: