Search code examples
githubgithub-pages

How do I make a multi-page GitHub Page Website without using Jekyll?


Recently I've made a GitHub Pages website using HTML and CSS and I'm wondering how do I make different pages on it? E.g. have a main page and then a button to take me to a different blog page. If possible I'd like it to stay as a HTML website without using Jekyll. Any help is appreciated thank you :)


Solution

  • Just create the html files for the pages you want and links to each one of them in the index.html file.

    Here is a sample project structure:

    .
    ├── about.html
    ├── index.html
    └── style.css
    

    Then in your index.html file you can add a navbar that links to your about.html.