Skip to content

Commit

Permalink
chore: Fix add partials to "hello world" demo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Olian04 committed Jul 2, 2024
1 parent bacc531 commit 51f6c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import handles/ctx
pub fn main() {
let assert Ok(template) = handles.prepare("Hello {{name}}")
let assert Ok(string) =
handles.run(template, ctx.Dict([ctx.Prop("name", ctx.Str("Oliver"))]))
handles.run(template, ctx.Dict([ctx.Prop("name", ctx.Str("Oliver"))], []))
io.debug(string)
}
Expand Down

0 comments on commit 51f6c27

Please sign in to comment.