Website of the clan project
All checks were successful
check / test (pull_request) Successful in 20s
Flake lock file updates: • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=36dbb8fafd2a8791a17e669834e35b9c0f07d3e9' (2024-03-03) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=6d76a724c017655c392080d50164da55e00a2d87' (2024-03-10) • Updated input 'clan-core/disko': 'github:nix-community/disko/23d308f0059955e3719efc81a34d1fc0369fbb74' (2024-02-22) → 'github:nix-community/disko/0d11aa8d6431326e10b8656420f91085c3bd0b12' (2024-03-05) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8' (2024-02-29) → 'github:NixOS/nixpkgs/3030f185ba6a4bf4f18b87f345f104e6a6961f34' (2024-03-09) |
||
---|---|---|
.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"