Website of the clan project
All checks were successful
check / test (pull_request) Successful in 17s
Flake lock file updates: • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=f166da1621707399416a1dcb09db8a6360291f0d' (2024-02-11) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=36b20f18d4f490f5d1b72a97ea0a7ea187646011' (2024-02-16) • Updated input 'clan-core/disko': 'github:nix-community/disko/f67ba6552845ea5d7f596a24d57c33a8a9dc8de9' (2024-01-29) → 'github:nix-community/disko/d07de570ba05cec2807d058daaa044f6955720c7' (2024-02-10) • Updated input 'clan-core/nixos-generators': 'github:nix-community/nixos-generators/896f6589db5b25023b812bbb6c1f5d3a499b1132' (2024-01-24) → 'github:nix-community/nixos-generators/843e2f04c716092797ffa4ce14c446adce2f09ef' (2024-02-08) • Updated input 'clan-core/sops-nix': 'github:Mic92/sops-nix/23f61b897c00b66855074db471ba016e0cda20dd' (2024-02-04) → 'github:Mic92/sops-nix/2eb7c4ba3aa75e2660fd217eb1ab64d5b793608e' (2024-02-11) • Updated input 'clan-core/treefmt-nix': 'github:numtide/treefmt-nix/c6153c2a3ff4c38d231e3ae99af29b87f1df5901' (2024-01-28) → 'github:numtide/treefmt-nix/ac599dab59a66304eb511af07b3883114f061b9d' (2024-02-07) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d934204a0f8d9198e1e4515dd6fec76a139c87f0' (2024-02-10) → 'github:NixOS/nixpkgs/5863c27340ba4de8f83e7e3c023b9599c3cb3c80' (2024-02-16) |
||
---|---|---|
.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"