How do I reference a .sass file from a .haml file?
I have the following haml expression that will reference a .css file:
%link{'href' => '/stylesheets/layout.css?cache=1', 'rel' => 'stylesheet', 'type' => 'text/css'}/
How do I reference a .sass file?
Sass files compile to CSS files. If you’re using Rails, this is done automatically; otherwise, you can use the
sasscommand-line executable. Check out the Sass documentation for more information.Once you’ve compiled your Sass files to CSS, you reference the CSS file just like you normally do.