Examples
Core astwerk is small enough to show in full. These pages cover the three things a site is made of: templ components, the node tree with markdown content, and the build step that compiles scripts. Everything here is plain Go and templ — no client runtime, no WASM.
Templ basics templ
Components, expressions, children, loops and attributes — the authoring model every astwerk page uses.
Tree & content ssg + content
A node tree, markdown collections and derived locales: the whole site-building path.
Scripts CompileFrom
Compile a Go or TypeScript file as part of the build, then load it with a normal script tag.
Beyond core
Client-side helpers — compiled markup, signals, direct DOM access and a browser DOM for tests — live in the separate astwerk-live extension. They are optional and still moving; the client-side tools page in the docs is the entry point.