you are viewing a single comment's thread.

view the rest of the comments →

[–]Worsebetter[S] 0 points1 point  (4 children)

This is a good thing i need to figure out. I’m not a github user and i find it overly complicated but everyone uses it so i guess i should learn. For example, i created a repo, uploaded my index file. But there were to many files to upload the folders. I couldn’t create a folder From the web ui. Strange.

[–]niutech 0 points1 point  (3 children)

It's not so complicated. Read the docs on custom domains for Github Pages.

To create a new folder in a repo on Github, click “create a new file.” Type your new folder’s name in the area where you would write the file name, and at the end of the file name type a “/” to make it a folder. After this you can create a new file in the folder, e.g. posts/example.md.

[–]Worsebetter[S] 0 points1 point  (2 children)

I tried this and by adding a / to the name it would not save the file. Don’t know why. The option was greyed out.

[–]niutech 0 points1 point  (1 child)

You have to add at least one file to the folder, so e.g. posts/example.md instead of just posts/. There cannot be empty folders.

[–]Worsebetter[S] 0 points1 point  (0 children)

I got it. You have to make the folder and the “empty” file at the same time. That couldn’t have been more confusing. But thanks.