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

display_path isn't working with Octopress #19

Open
coneybeare opened this issue Mar 12, 2013 · 2 comments
Open

display_path isn't working with Octopress #19

coneybeare opened this issue Mar 12, 2013 · 2 comments

Comments

@coneybeare
Copy link

# jekyll-asset-pipeline
asset_pipeline:
  bundle: true                                          # Default = true
  compress: true                                        # Default = true
  output_path: assets                                   # Default = assets
  display_path: http://site.com/blog                    # Default = nil
  gzip: true                                            # Default = false

and

{% css_asset_tag global %}
- /_assets/stylesheets/screen.css
{% endcss_asset_tag %}  
{% javascript_asset_tag global %}
- /_assets/javascripts/modernizr-2.0.js
- /_assets/javascripts/ender.js
- /_assets/javascripts/octopress.js
{% endjavascript_asset_tag %}

renders

<link href='/assets/global-692dcc974a1799872aee8676b793b6e2.css' rel='stylesheet' type='text/css' />
<script src='/assets/global-f56b2ba0c79dc638d169c6ceb1751bff.js' type='text/javascript'></script>

but should render:

<link href='http://site.com/blog/assets/global-692dcc974a1799872aee8676b793b6e2.css' rel='stylesheet' type='text/css' />
<script src='http://site.com/blog/assets/global-f56b2ba0c79dc638d169c6ceb1751bff.js' type='text/javascript'></script>

right?

@matthodan
Copy link
Owner

Thanks for pointing out. This should work, so may be a bug.

@gitviola
Copy link

Problem is still present

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

3 participants