Home > Mobile >  Can you have multiple different pages on 1 GH repositories
Can you have multiple different pages on 1 GH repositories

Time:01-20

Is it possible to have 1 GH repository but with two different pages on 2 different URLs? If yes how would I do this?

CodePudding user response:

Yes, this is possible. To do this have 2 or more files with the extension .html or .htm. The URL would be formatted like this: <your_GH_username>.github.io/<repository_name>/<file_name_with_or_without_the_extention>

  •  Tags:  
  • Related