Create a repository on <ahref="https://git.theclashfruit.me">TheClashFruit's Forgejo</a> named <code>pages</code> and push your code to the <code>main</code> branch.
</p>
<p>
Alternatively, you can create a page for a repo at <code>user.theclashfruit.page/repo</code> by creating a new empty branch named <code>pages</code> in your repo.
</p>
</div>
<divclass="card">
<h3>
Upload your Code.
</h3>
<p>
Upload your HTML, CSS, and JS and whatever else to you repository.
Keep in mind that we have caching enabled, so when you push new code it may take a few minutes to update, alternatively you can try refreshing with <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd>.
You can now access your page at <code>user.theclashfruit.page</code> or <code>user.theclashfruit.page/repo</code>.
</p>
<p>
The software we use to deliver your pages is open-source! Check out its <ahref="https://git.gay/gitgay/pages-server">source code</a>!
</p>
</div>
</div>
</div>
<div>
<h2>
Custom Domains
</h2>
<p>
To use a custom domain create a <code>.domains</code> file in the root of your repository and add your domain to it.
</p>
<p>
Then add a CNAME record to your DNS pointing to <code>[[branch.]repo.]user.theclashfruit.page</code>.
</p>
<p>
For apex domains where you can't add a <code>CNAME</code> record, add an <code>A</code> record pointing to <code>132.145.233.75</code>, an <code>AAAA</code> record pointing to <code>2603:c020:8013:a05a:de6c:60c0:9a73:35ae</code>, and a <code>TXT</code> record with the value <code>[[branch.]repo.]user.theclashfruit.page</code>.