Ayush Gupta
Ayush Gupta

Reputation: 9285

How to use other Jekyll themes on github pages than the officialy supported ones

According to Github, the following is the list of jekyll themes it supports:

If I want to use any theme apart from these, is there any way to go about it?

Upvotes: 1

Views: 343

Answers (2)

C. Augusto Proiete
C. Augusto Proiete

Reputation: 27818

Remove the theme entry from your _config.yml file (so that you tell Jekyll you're not using a preexisting theme) and commit all the files and layouts that belong to the theme you want to use into the Git repository along with everything else you have (posts, etc.).

Upvotes: 1

Ayush Gupta
Ayush Gupta

Reputation: 9285

Found the way. To use another theme than the ones specified, do not commit the source jekyll files to the master branch.

Instead, run jekyll build --destination dist and then commit the contents of the dist directory to the master branch.

Upvotes: 0

Related Questions