add a TOC, more nutrition info stuff, update some styles and templates

This commit is contained in:
Joshua Seigler 2025-06-19 15:54:29 -04:00
parent 863ed9c128
commit a29ee38e0e
18 changed files with 534 additions and 86 deletions

View file

@ -6,7 +6,7 @@ description: How to self-host Forgejo and automatically serve your web build bra
I recently started self-hosting [Forgejo](https://forgejo.org/), but I wanted something to replace GitHub pages, which has been very convenient for publishing little website projects. My server runs Debian, so I decided to use [webhook](https://github.com/adnanh/webhook) and [Caddy](https://caddyserver.com/). I'm very happy how it turned out.
## The result
## The objective
When I push a `gh-pages` branch to any public repository on my Forgejo instance, the name of the repo is used as a domain name (e.g. [marklink.pages.seigler.net](https://marklink.pages.seigler.net/)) and the branch contents are automatically served with SSL. If I push updates to the branch, they are automatically published. If the branch or repo is deleted, the site is taken down.
## How to do it