0

I created a "jekyll new xx" site locally. When I run Jekyll serve it works very nicely.

Now, I create a new github repo and a branch gh-pages: https://github.com/pitosalas/deleteme

However when it is rendered as a github page it looks all wrong, like style sheets and other assets are missing.

Update

Steven Perry: Thanks for your response, but I had a typo. I wanted to point to the github repo containing the Jekyll "input" files which are then regenerated into the stuff that is served to the browser. The extra slash in the CSS file is an excellent clue but it is in a file generated by Jekyll I think. I can't edit it directly I need to figure out how to get Jekyll to generate it correctly. Do you know?

0

1 Answer 1

2
<link rel="stylesheet" href="/css/syntax.css">
<!--                         ^
                            /
       remove this slash ---
-->

Example

For more info, your problem file is here

default.html

1
  • thanks! Odd that in all the instructions about how to use jekyll with github pages this little detail/bug is not mentioned.
    – pitosalas
    Commented Jun 28, 2013 at 21:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.