grace/typst_web_magic
Typst SSG powering grace.pink and words.gay
git clone https://git.gae.moe/grace/typst_web_magic
e5196c6
main
files
| color/ | |
| template/ | |
| .gitignore | 63 B |
| LICENSE | 1.0 KiB |
| README.typ | 538 B |
| blog.typ | 2.0 KiB |
| default.css | 1.3 KiB |
| default.nix | 4.1 KiB |
| flake.lock | 569 B |
| flake.nix | 639 B |
| lib.typ | 9.0 KiB |
| metadata.typ | 1.5 KiB |
| pdf.typ | 2.7 KiB |
| typst.toml | 168 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'