8/4/26 21:23

This commit is contained in:
Eric Christensen
2026-08-04 21:23:11 -07:00
parent cfb3f16f82
commit caba177285
14 changed files with 353 additions and 25 deletions
+1
View File
@@ -20,6 +20,7 @@ render_index_page :: proc(s: ^State) -> string {
<main id="content">
<h1>Hello!</h1>`)
fmt.sbprintf(&b, `<h2>%v</h2>`, state.num)
fmt.sbprintf(&b, `<div>%v</div>`, state.import_html)
strings.write_string(&b, `</main></body></html>`)
return strings.clone(strings.to_string(b))