Main website Mk. II
Go to file
Leni Aniva 6e7ccd73fc Merge pull request 'fix: Stacking series problem and undefined descriptions problem' (#24) from post/header into main
Reviewed-on: #24
2024-10-18 11:27:46 -07:00
src fix: Styling post header 2024-10-18 11:26:56 -07:00
static chore: Eslint and pre-commit hooks 2024-09-28 23:59:37 -07:00
tests test: Navigate to page 2 2024-10-18 11:16:44 -07:00
.gitignore fix: Add pre-commit-config.yaml 2024-09-29 00:14:24 -07:00
.pre-commit-config.yaml refactor: Move global styles to `app.css` 2024-10-11 14:43:20 -07:00
README.md feat: Tag system 2024-10-10 12:00:35 -07:00
components.json chore: Eslint and pre-commit hooks 2024-09-28 23:59:37 -07:00
eslint.config.js chore: Eslint and pre-commit hooks 2024-09-28 23:59:37 -07:00
flake.lock build: Add Nix flake 2024-09-11 22:09:13 -07:00
flake.nix test: Setup playwright testing 2024-09-28 15:18:09 -07:00
package-lock.json feat: Enable KaTeX 2024-10-16 23:04:12 -07:00
package.json feat: Enable KaTeX 2024-10-16 23:04:12 -07:00
playwright.config.ts feat: Initial site stub 2024-09-11 00:51:05 -07:00
postcss.config.js feat: Add shadcn based navbar 2024-09-11 07:54:39 -07:00
svelte.config.js merge: branch 'main' into post/page 2024-10-18 11:07:31 -07:00
tailwind.config.ts feat: Use less intensive colour for dark mode code 2024-10-16 17:20:15 -07:00
tsconfig.json feat: Blog catalog 2024-09-13 23:20:07 -07:00
vite.config.ts feat: Initial site stub 2024-09-11 00:51:05 -07:00

README.md

Chrysoblog

A blog framework

Building

To create the production version,

npm run build

You can preview the production build with npm run preview.

Content

To insert custom content, create a directory with a similar structure to src/content, and set the environment variable CHRYSOBLOG_CONTENT to that directory. The website will be built statically in build/. Note that changing favicon.svg will require modifying the static/ folder.

Developing

Install pre-commit.

Install dependencies with npm install (or pnpm install or yarn). Then start the dev server with

npm run dev [-- --open]

Formatting

npx eslint

Testing

To run tests

npx playwright test

All tests must have the suffix .spec.[jt]s. Be cautious while updating playwright since the versions in nixpkgs and node must exactly match.