fmt := import("fmt") paths := import("paths") htmExt := func(c){ if c.is_compo { return } if c.not_main { } else { c.pp.print("") } c.pp.print(``) } exts := { ".htm": htmExt, ".html": htmExt } export func(c){ ext := c.fext cl := exts[ext] if !is_undefined(cl) { cl(c) } }