fn render_page( root: &Path, manifest_dir: &Path, template: &Path, opts: &Options, ) -> Result<String, String>