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

site.baseurl ignored when linking to assets #178

Closed
amw opened this issue Oct 8, 2015 · 0 comments
Closed

site.baseurl ignored when linking to assets #178

amw opened this issue Oct 8, 2015 · 0 comments
Labels
Milestone

Comments

@amw
Copy link
Contributor

amw commented Oct 8, 2015

This is related to #125 which was already fixed, but the issue creeped up again with the 2.0 changes.

Example Jekyll config:

baseurl: "/my-sub-website"

Now when you use this in your _head.html:

  {% stylesheet "main" %}

You will get:

<link type="text/css" rel="stylesheet" href="/assets/main.css">

Which will produce 404 error, because the asset is served at http://127.0.0.1:4000/my-sub-website/assets/main.css.

@envygeeks envygeeks added the bug label Oct 8, 2015
@envygeeks envygeeks added this to the v2.0.0 milestone Oct 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants