0

I am new to Padrino with little idea of haml/sass following sample blog tutorial from padrinorb.com. I have included sass gem in my sample project.

When I run my sample project changes done to application.sass present in app/stylesheets does not reflect in my haml until I include/link the generated application.css present in public/stylesheets. i.e. My styling works only if I include the below line in my haml

 %link(rel="stylesheet" type="text/css" href="stylesheets/application.css")

My doubt is on how this auto linking happening for the sample blog padrinorb.com project but not for my sample project which requires manual linking?

ian
  • 12,003
  • 9
  • 51
  • 107
Himanshu Virmani
  • 2,450
  • 1
  • 24
  • 34
  • Have you followed the instructions [here](http://www.padrinorb.com/guides/blog-tutorial#site-layout)? – ian Aug 04 '14 at 02:05

1 Answers1

0

Thanks Iain, My Bad I missed the below line in my code which lead to the css not being included. For anyone who is also stuck, line below is just a padrino way of linking the stylesheet with your haml. Write this in your haml head part as you do for a css.

= stylesheet_link_tag 'reset', 'application'
Himanshu Virmani
  • 2,450
  • 1
  • 24
  • 34