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

Using `display_path`, created markup omits `output_path` #54

Open Philzen opened 1 year ago

Philzen commented 1 year ago

As soon as i set a display_path, e.g.

  asset_pipeline:
    display_path: blog

the asset pipeline breaks, b/c bundle files are created in _site/assets (correct, b/c output_path is still assets), but the generated markup that should load the file links to http://127.0.0.1:4000/blog/asset-hash.js instead of http://127.0.0.1:4000/blog/assets/asset-hash.js.

Known Workaround

Manually add the expected asset path to display_path

  asset_pipeline:
    display_path: blog/assets

or set output_path to an empty string.