Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using display_path, created markup omits output_path #54

Open
Philzen opened this issue Aug 19, 2023 · 0 comments
Open

Using display_path, created markup omits output_path #54

Philzen opened this issue Aug 19, 2023 · 0 comments

Comments

@Philzen
Copy link

Philzen commented Aug 19, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant