typost demo

About

This example shows typost turning a Typst program into a website.

How a page is defined

Each page is its own file. It starts with a selectorless show rule and then its content:

#import "../theme.typ": page
#show: page.with(route: "about/index.html", title: "About")
= About
...

The entry file #includes the page files. There is no filename convention.

Typst features on display

Read the blog for the rest.