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

Failed to load resource #6

Closed
dohliam opened this issue Jul 14, 2016 · 4 comments
Closed

Failed to load resource #6

dohliam opened this issue Jul 14, 2016 · 4 comments

Comments

@dohliam
Copy link
Collaborator

dohliam commented Jul 14, 2016

I noticed the error below on loading the skins:

Failed to load resource: the server responded with a status of 404 (Not Found) => http://darshandsoni.com/asciidoctor-skins/css/css/asciidoctor.css

It seems that this is occurring because of this line that tries to import asciidoctor.css from css/asciidoctor.css, which of course doesn't exist now since the skins themselves are located in the css directory.

I'll see if I can submit a PR to fix this.

@darshandsoni
Copy link
Owner

It's funny how that's not showing up on my end... and asciidoctor seems to work as intended... despite the fact that you're obviously right and that path should invalidate!

@darshandsoni
Copy link
Owner

I shall merge the PR anyway, because it's the right thing to do.

darshandsoni added a commit that referenced this issue Jul 14, 2016
change import stylesheet paths - fixes #6
@dohliam
Copy link
Collaborator Author

dohliam commented Jul 14, 2016

For future reference, I think it was still working anyway even with the wrong path because we are actually loading the default stylesheet twice (once in index.html, and again in each custom skin).

@darshandsoni
Copy link
Owner

Ahh that explains it! Thanks for picking that up. There's always a simple, logical explanation at the end of all of weird bugs.

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

2 participants