Architect Jekyll theme doesn't work on GitHub page

I created a GitHub page with a repository called myusername.imtqy.com I cloned this (empty) repo to my computer and using the jekyll command line, I created a new blog inside this folder. It built correctly on my PC and on GitHub with the standard "lows" themes. However, I wanted to use the "architect" theme and followed their instructions (just add theme: jekyll-theme-architectto _config.yml) to use it, but the result was a corrupted page. What's happening? How can i fix this?

I got completely mad at this. The instruction is so simple but does not work !!!

+4
source share
1 answer

This is because you don’t have the proper gem locally, so you can either set the gem explicitly or add a gem github-pagesthat contains this theme, as it is supported by Github pages.

Add to your website Gemfile:

gem "github-pages", group: :jekyll_plugins

then run bundle install.

Change index.mdand modify the default layout on the value of: layout: default.

Remove lines containing tag to include about.md, for example: {% include icon-github.html username="jekyll" %}.

and you can use the new theme.

+3
source

Source: https://habr.com/ru/post/1677293/


All Articles