Website of the clan project
6fbd1efc2b
Flake lock file updates: • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e' (2024-05-02) → 'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/062ca2a9370a27a35c524dc82d540e6e9824b652' (2024-05-11) → 'github:NixOS/nixpkgs/4a6b83b05df1a8bd7d99095ec4b4d271f2956b64' (2024-05-17) |
||
---|---|---|
.gitea/workflows | ||
content | ||
flake-parts | ||
static | ||
templates | ||
themes/adidoks | ||
.envrc | ||
.gitattributes | ||
.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"