问题描述:

I am using jade grunt and compass to produce a site, and instead of havving to type the correct path to files within jade file e.g.:

link(href='../../../../stylesheets/sections/pdp.css'

I was wondering i there was a way of using something like /stylesheets/sections.pdp.css

so I don't have to write the correct path each time.

Thanks!

EDIT:

config.rb

http_path = "/"

css_dir = "stylesheets"

sass_dir = "scss"

images_dir = "assets/images"

javascripts_dir = "scripts"

#output_style = :compressed

relative_assets=true

line_comments = false

相关阅读:
Top