darshandsoni / asciidoctor-skins

Control how your asciidoctor powered documentation looks

Home Page:https://darshandsoni.com/asciidoctor-skins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to load resource

dohliam opened this issue · comments

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.

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!

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

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).

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