krz/krz.sh
clone: git clone https://gitbay.org/krz/krz.sh.git
main:
| 040000 | .githooks/ | |
| 100644 | .gitignore | 8 |
| 100644 | LICENSE | 639 |
| 100644 | README.nfo | 1839 |
| 040000 | assets/ | |
| 100644 | config.toml | 384 |
| 040000 | content/ | |
| 040000 | sass/ | |
| 040000 | static/ | |
| 040000 | templates/ |
┌──────────────────────────────────────────────────────────────┐
│ K R Z . S H [ KRZ ] 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.
┌──────────────────────────────────────────────────────────────┐
│ krz.sh │
└──────────────────────────────────────────────────────────────┘