GitHub pages only showing ReadMe file?

GitHub Pages is doing what it is designed to do: hosting the contents of that repository.

The root of the question asker’s repository only contained a single file (README.md). So there isn’t an easy way to navigate to the other pages, e.g. repo/website/webpage.html.

Consider moving your web content into the root of your repository and renaming your default page to index.md or index.html, depending what type of file it is. (By convention the default page of most websites is called index.html, and this is what GitHub Pages will show by default if it exists.)

Leave a Comment