From 3d615f7b4c19abf34f23ff09ea587a597f2de42a Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Fri, 24 Jul 2026 00:29:08 -0400 Subject: converted to typst --- README.md | 36 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 23 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3753237..8deab58 100644 --- a/README.md +++ b/README.md @@ -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//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. -- cgit v1.2.3