The problem of analyzing the root directory of the home page of the project built by git pages

I have built a demo repository with git pages. Some small demo, that I want to use to demonstrate my learning front-end process have first put these two files
. I want to directly access the xxx/demo and parse the index.html, directly, and then I can put a lot of other demo links in it to jump, but the end result is that accessing xxx/demo is 404 and accessing xxx/demo/index.html is the content of the index.html. I think some personal homepages are set as usernames. The kind of warehouse that can directly parse index.html is not supported by the project homepage? When index.html is not uploaded, it can be accessed directly by xxx/demo only when readme.md is uploaded, but readme cannot write css style like html. In short, it is very puzzling about how to parse this. Is there something wrong with my setting or? Can you achieve the effect I said

Mar.05,2021

alas, at first I directly used the master branch in the settings to read the article that it is another way to create gh-pages, so I didn't bother to create gh-pages. Later, I tried to re-create gh-pages to achieve the effect I wanted. I don't quite understand the difference between these creation methods.

Menu