Website of the clan project
6bdde7251b
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=ae256b666e4d1a67f546378871c7a8668c69247c' (2024-02-03) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=f166da1621707399416a1dcb09db8a6360291f0d' (2024-02-11) • Updated input 'clan-core/sops-nix': 'github:Mic92/sops-nix/73bf36912e31a6b21af6e0f39218e067283c67ef' (2024-01-28) → 'github:Mic92/sops-nix/23f61b897c00b66855074db471ba016e0cda20dd' (2024-02-04) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/e92b6015881907e698782c77641aa49298330223' (2024-02-02) → 'github:NixOS/nixpkgs/d934204a0f8d9198e1e4515dd6fec76a139c87f0' (2024-02-10) |
||
---|---|---|
.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"