← back

grace/typst_web_magic

Typst SSG powering grace.pink and words.gay

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

Grace Yoderadd audio and just edit commande5196c6

main
2 folders12 files

files

color/
template/
.gitignore63 B
LICENSE1.0 KiB
README.typ538 B
blog.typ2.0 KiB
default.css1.3 KiB
default.nix4.1 KiB
flake.lock569 B
flake.nix639 B
lib.typ9.0 KiB
metadata.typ1.5 KiB
pdf.typ2.7 KiB
typst.toml168 B

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'