Skip to content

Commit 659b911

Browse files
committed
fix: fixed perseus new
1 parent 76e2122 commit 659b911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/perseus-cli/src/init.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,5 +177,5 @@ fn head(cx: Scope) -> View<SsrNode> {
177177
}
178178
179179
pub fn get_template<G: Html>() -> Template<G> {
180-
Template::build("index").template(index_page).head(head)
180+
Template::build("index").view(index_page).head(head).build()
181181
}"#;

0 commit comments

Comments
 (0)