matthodan / jekyll-asset-pipeline

Powerful asset pipeline for Jekyll that collects, converts and compresses JavaScript and CSS assets
http://www.matthodan.com/2012/11/22/jekyll-asset-pipeline.html
MIT License
364 stars 31 forks source link

nil in assets path name #33

Closed NV closed 11 years ago

NV commented 11 years ago

I put the following code to my default.html:

{% css_asset_tag global %}
- /_assets/a.css
- /_assets/b.css
{% endcss_asset_tag %}

When I run jekyll build I’m getting

<link href='/nil/global-554d1da02802a6dcb04cd6d9b1e1b301.css' rel='stylesheet' type='text/css' />

Which results in not found, since I keep my files in "assets" directory, not "nil".

Am I doing something wrong?

NV commented 11 years ago

I copy-pasted the following snipped:

asset_pipeline:
  bundle: true            # Default = true
  compress: true          # Default = true
  output_path: assets     # Default = assets
  display_path: nil       # Default = nil
  gzip: false             # Default = false

to my _config.yml. display_path: nil caused the trouble. I removed this line and now it works correctly.