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

respect Jekyll's site.baseurl #125

Closed
afeld opened this issue Jan 31, 2015 · 5 comments
Closed

respect Jekyll's site.baseurl #125

afeld opened this issue Jan 31, 2015 · 5 comments

Comments

@afeld
Copy link

afeld commented Jan 31, 2015

Unless the assets.baseurl config value is set, it would make sense to default to prepending the top-level baseurl config to /assets. In other words, for:

# _config.yml
baseurl: /foo

{% asset_url 'app.js' %} should produce /foo/assets/app-XXX.js. Sound reasonable?

@afeld
Copy link
Author

afeld commented Jan 31, 2015

FYI for anyone else, the workaround is to set the assets.baseurl explicitly:

baseurl: /foo
assets:
  baseurl: /foo/assets

@ixti ixti closed this as completed in de3c4d7 Feb 1, 2015
@ixti
Copy link
Contributor

ixti commented Feb 1, 2015

Released as 0.13.0

@amw
Copy link
Contributor

amw commented Oct 8, 2015

Looks like this issue creeped up again in the 2.0 pre-releases.

@amw
Copy link
Contributor

amw commented Oct 8, 2015

Now there's a prefix configuration, but it changes both the asset links and placement in _site directory. baseurl only changes links, but doesn't create a subdirectory inside _site.

@envygeeks
Copy link
Owner

File a new ticket and describe the problem in more detail and I'll fix it. Thanks.

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

4 participants