diff options
| author | Kumar Damani <me@kumardamani.net> | 2026-07-24 04:29:08 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2026-07-24 04:29:08 +0000 |
| commit | 3d615f7b4c19abf34f23ff09ea587a597f2de42a (patch) | |
| tree | 10a0e4c3e0fa2c9b0254bb1826ae89f67fbc7df0 /README.md | |
| parent | 62fcd12a0a1ea557334dec1fa0cfdce69d003bd8 (diff) | |
converted to typst
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 36 |
1 files changed, 13 insertions, 23 deletions
@@ -1,30 +1,20 @@ -# Install -```bash -git submodule init -git submodule update --remote -``` +My website/blog repo with Typst using html, and bundle experimental features. -# Develop -```bash +```sh nix develop -hugo new content/post/<post-slug>/index.md -``` -# Run (dev server) -```bash -nix develop -hugo server -D +# dev server for live updates +typst watch --root . --features bundle,html -f bundle main.typ build -# OR for docker: -docker run --rm -it \ - -v $(pwd):/src \ - -p 1313:1313 \ - klakegg/hugo:latest \ - server -D +# compile +./build.sh ``` -Then go to `localhost:1313`. -# Publish -```bash -./deploy.sh +Gitlab CI will automatically inject a `ci.json` file: +```json +{ + "date": "some date", + "link": "https://gitlab.com/.../job/42" +} ``` +used by the `compile` step for the final output. |
