| name | last commit | updated |
|---|---|---|
| .githooks/ | add pre-push deploy hook; source links to git.krz.sh; fix app button color | 3 months ago |
| assets/ | Replace the terminal theme with a Swiss design system | 2 months ago |
| content/ | Remove em dashes | 2 months ago |
| data/ | Make the home page a directory of everything krz runs | 2 months ago |
| sass/ | Remove em dashes | 2 months ago |
| static/ | Replace the terminal theme with a Swiss design system | 2 months ago |
| templates/ | Remove em dashes | 2 months ago |
| .gitignore | initial commit | 3 months ago |
| LICENSE | relicense to 0bsd | 3 months ago |
| README.org | Convert README.nfo to README.org (!2) | 2 months ago |
| config.toml | point footer link to git.krz.sh; drop unused github config | 3 months ago |
krz.sh
what
source for krz.sh, the krz website. built with zola.
develop
zola serve
open http://127.0.0.1:1111.
build
zola build
output goes to public/.
structure
config.toml site config content/ pages (home, services/, apps/, about/) templates/ tera templates sass/main.scss styles, compiled to main.css static/ assets, favicon.svg, og.png assets/ logo sources; build.sh regenerates the icons
deploy
pushing main runs .githooks/pre-push, which builds with zola and rsyncs public/ to homelab:/var/www/krz.sh/. the sync uses –delete, so the remote mirrors public/ exactly.
git does not clone hooks. enable them once per checkout:
git config core.hooksPath .githooks
cloudflare fronts krz.sh and caches static assets for a year. asset urls in templates/base.html are cachebusted so changes propagate; anything else needs a manual purge.
Clone
SSHgit clone ssh://git@gitbay.org/krz/krz.sh.git
HTTPSgit clone https://gitbay.org/krz/krz.sh.git