grace/typst_web_magic

Typst SSG powering grace.pink and words.gay

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

Grace Yoderadded template, readme, and minor changes5b6c1ba

main
538 B20 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-shell

# watch the site for changes (will not reload assets)
nix-shell --run '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-shell
16
17# watch the site for changes (will not reload assets)
18nix-shell --run 'typst watch --format bundle --features bundle,html site.typ site'
19```
20