// HTML-target template for nornir docs (experimental, low-priority path).
//
// typst's HTML export realises headings, paragraphs, lists, links, code,
// tables and images into native HTML elements on its own, so this template is
// deliberately minimal: it only sets the document title and drops the
// translated body in. It must NOT use any paged-only construct — `#set page`,
// `pagebreak`, `outline`, headers/footers, `line`, `place`, `align` — because
// the HTML target rejects layout primitives. The Rust side feeds an HTML-safe
// body (thematic breaks become `#html.elem("hr")`, images carry no `#align`).
#import sys: inputs
#let title = inputs.at("title", default: "Documentation")
#let body = inputs.at("body", default: "")
#set document(title: title)
#eval(body, mode: "markup")