Reputation: 2074
My jekyll
blog is running ok in my pc but when I open it from my gh repository it's broken. Here's a screen of that
If I click on one of the links, that next page throws 404
. Needless to say, I followed the steps from the gh site in order to configure it properly.
baseurl
is set, the paths to css
and images
are correctly set using {{ site.baseurl }}
. So locally the blog works fine, but still, on gh-pages
it's not.
Code is here
Another piece of information. I have a master
branch and a gh-pages
branch, the one updated is gh-pages
, master has old code, is it ok?
Any ideas please?
Upvotes: 3
Views: 3897
Reputation: 96
in your _config.yml baseurl: /modestorimba R should be uppercase.
Upvotes: 0
Reputation: 52829
It works ! What you saw was an old version of your site.
Two possible explanations :
f5
or Ctrl+r
can help.In order to know if you last commit has been published it to go to https://github.com/goblind/modestoRimba/settings and to watch under GitHub Pages box.
If you see Your site is ready to be published at http://goblind.github.io/modestoRimba
, your site generation is pending.
If you see Your site is published at http://goblind.github.io/modestoRimba
, your site have been published with last commit.
Upvotes: 4
Reputation: 331
It's working fine in my browser. I want to say one thing, GitHub pages cache your old resources(including HTML, CSS, JS, Images), in browser for better UX, For example, just disconnect your internet, and reload that page again, and it will be work fine, similarly if you visit another page, then it will not load your CSS, or javascript again from your website, they will load directly from browser cache. So you are getting this error because your browser use old cache resource, and it will update again in few hour, depending on cache time.
I want to say, if your blog working fine in localhost, then don't worry, it will be also work fine in github pages as well, otherwise github will send you notice in your email regarding page build fail.
Upvotes: 1