rustyDev
rustyDev

Reputation: 195

Jekyll custom theme not working on Github pages

I have a jekyll site that I want to deploy as github-pages. It works fine standalone but fails to build within github-pages with the include error from _index.html. I don't even have an _include directory. I am using the minimal-mistakes theme. I have slimmed down my site to the bare bones it can be found at https://github.com/laredo/mm-jekyll

The exact error is: A file was included in index.html that is a symlink or does not exist in your _includes directory.

https://github.com/laredo/mm-jekyll/blob/master/index.html

Looking for suggestions to successfully build the site

Upvotes: 0

Views: 2445

Answers (2)

David Jacquel
David Jacquel

Reputation: 52809

In your _config.yml

  • delete theme: minimal-mistakes-jekyll
  • add remote_theme: mmistakes/minimal-mistakes
  • enable jekyll-include-cache in the plugins configuration

Plugins config is now :

plugins:
  - jekyll-feed
  - jekyll-include-cache

Upvotes: 6

André Pacheco
André Pacheco

Reputation: 1885

I have a blog based on Jekyll and Minimal Mistakes. It's already hosted in github-pages. I don't know how you started your project, but what worked to me was just clone the minimal mistakes Github repository and change the _config.yml.

Upvotes: 0

Related Questions