mmistakes/so-simple-theme

Hosting on github not applying the theme

Better-Boy opened this issue · 2 comments

I have hosted the site on github, when I don't include the '_include' and '_layouts' not will show up, but when I include those 2 folders , everything appears distorted. Why is this happening?

My Git Repo - https://github.com/Better-Boy/Blog
My Site URL - https://better-boy.github.io/Blog/

Where am I going wrong?

You're not using the theme correctly. When hosting on GitHub Pages you need to install it as a "remote theme".

  1. In your _config.yml change theme: jekyll-theme-so-simple to remote_theme: "mmistakes/so-simple-theme"
  2. Set url and baseurl correctly in your _config.yml so the paths are configured correctly and assets resolve properly:
    url: "https://better-boy.github.io"
    baseurl: "/Blog"
  3. Remove the folders and all files in _layouts and _includes

Yes, it worked. Simple mistakes. Thanks for your time and effort.