grace/typst_web_magic

Typst SSG powering grace.pink and words.gay

git clone https://git.gae.moe/grace/typst_web_magic

Grace Yodermoved to flake stuff13a0eaa

main
536 B19 linesraw

typst_web_magic

A static site generator that uses Typst and Nix in order to create the HTML. Allows you to have an HTML and PDF output for each page. Uses Nix to find the assests and import them for you.

Getting Started

Create a new site with

nix run 'git+https://git.gae.moe/grace/typst_web_magic' -- path/to/site

Develop with

# set up helix editor and paths
nix develop

# watch the site for changes (will not reload assets)
nix develop -c typst watch --format bundle --features bundle,html site.typ site
1= typst_web_magic
2
3A static site generator that uses Typst and Nix in order to create the HTML. Allows you to have an HTML and PDF output for each page. Uses Nix to find the assests and import them for you.
4
5== Getting Started
6
7Create a new site with
8```sh
9nix run 'git+https://git.gae.moe/grace/typst_web_magic' -- path/to/site
10```
11
12Develop with
13```sh
14# set up helix editor and paths
15nix develop
16
17# watch the site for changes (will not reload assets)
18nix develop -c typst watch --format bundle --features bundle,html site.typ site
19```