diff --git a/Pages-%2F-How-to.md b/Pages-%2F-How-to.md new file mode 100644 index 0000000..1489d36 --- /dev/null +++ b/Pages-%2F-How-to.md @@ -0,0 +1,23 @@ +# Host static websites with Gitnet Pages! + +## Set up your repository + +Create a public repository named `pages` to make the site available at the main subdomain + +**OR** + +Create a branch `pages` in a repository: + +``` +git checkout --orphan pages +git rm --cached -r . +``` + +## Upload your files + +Push your static content, HTML, style, fonts, images or anything else. + +## You're done! + +Access your new website using this link: `https://USERNAME.codeberg.page[/REPOSITORY][/@BRANCH]`. +