Website of the clan project
94312a10ae
All checks were successful
check / test (pull_request) Successful in 22s
Flake lock file updates: • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=de65c4062af43e5a976254899da2b0734c7d263a' (2024-01-17) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=7b953fe7ab8d170d27e695e7719c1c0526fa64cb' (2024-01-21) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9b19f5e77dd906cb52dade0b7bd280339d2a1f3d' (2024-01-13) → 'github:NixOS/nixpkgs/bbe7d8f876fbbe7c959c90ba2ae2852220573261' (2024-01-19) |
||
---|---|---|
.gitea/workflows | ||
content | ||
flake-parts | ||
static | ||
templates | ||
themes/adidoks | ||
.envrc | ||
.gitignore | ||
.gitmodules | ||
config.toml | ||
flake.lock | ||
flake.nix | ||
LICENSE.md | ||
README.md |
Getting start with the repo
This is the source for the homepage. We use zola for building a static website.
Build the homepage
This will build the website including pages defined in the clan-core repo under /docs
:
$ nix build
Start a local webserver
This server will include all the pages from clan-core, but doesn't automatically refresh. Also make sure to wipe your browsers cache after each change.
$ nix run .#serve
zola build & serve
Alternatively zola build
and zola serve
can be used for development but the result will be missing the pages defined in the clan-core repo.
Contributing
Send changes to https://git.clan.lol/clan/clan-homepage
To update the website
$ nix run .#deploy
Create a new post
$ nix run .#new-post "September Changelog"