These are chat archives for jescalan/roots

22nd
Aug 2016
Anthony Nicholls
@gants102_twitter
Aug 22 2016 20:37
Hello, this is a massive newbie question I am sure, have started using dynamic content but the css files are not linking to individual pages. My main layout.jade file contains != css() but because the individual pages are in sub folders the link to the css file is not correct. Is there an easy way to solve this?
Tom Kraak
@tkraak
Aug 22 2016 20:50
@gants102_twitter you can pass a path such as != css('/subfolder/')
Jeff Escalante
@jescalan
Aug 22 2016 22:16
!= css('/') is usually enough
that will absolute reference them
Anthony Nicholls
@gants102_twitter
Aug 22 2016 22:19
thanks @tkraak @jescalan != css('/') has got it working although!= css('/subfolder/') helped me work that out :-)
Tom Kraak
@tkraak
Aug 22 2016 22:28
:+1: