Files
..
2026-04-08 16:56:55 +08:00
2026-01-31 18:06:34 +00:00
2026-02-24 17:46:16 +08:00
2026-04-23 13:25:08 +02:00
2026-04-12 15:24:41 +08:00
2026-02-27 10:47:57 +08:00
2026-04-15 20:31:18 +08:00
2026-02-24 17:46:16 +08:00
2026-04-08 16:56:55 +08:00

Clan Site

This is the source code for the whole clan site. It includes the home page, the blog, the documentation etc.

Developing

To start the dev server

clan-site

This is same as running clan-site dev.

Add -b to open the site in a new browser tab

clan-site dev -b

Building

To create a production version of the site:

clan-site build

Add -s to preview the build result

clan-site build -s

Similarly, passing -b (which assumes -s) opens the build result in a new browser tab.

clan-site build -b

Lint

Clan Site uses a quite strict coding standard. To lint the code base, run

clan-site lint

Lint

Clan Site uses a quite strict coding standard. To lint the code base, run

clan-site lint

To auto-fix the lint errors: run

clan-site lint --fix

Pagefind Playground

Pagefind offers a playground page that allows experimenting with different parameters that affect the order of search results. This page is only available in dev mode (started by clan-site or clan-site dev), and is available at:

/_pagefind/docs/playground/index.html