Can I host a custom site using html, css, and js through git hub pages without using a Jekyll theme?

Viewed 510

So I'm trying to setup a portfolio page through Github pages, but want to use custom code instead of a Jekyll theme. My page is HTML, CSS, and JS and haven't found a solid solution yet. Is this possible and, if so, how do I go about this? Thanks!

1 Answers

Yes you can.

All you have to do is name your html file as index.html and publish it to the appropriate repository.


You have 2 options:

  1. You either push your files in a gh-pages branch of the repository of your choice, if you have already setup your username.github.io or
  2. You can go ahead and create a new reportsitory named username.github.io and push the code to the master branch.

Here's a link to a github help article


EDIT :

Specifically THIS 5-step tutorial describes exactly what you want to accomplish.

Related