Skip to content

Commit

Permalink
chore: replace deprecated api
Browse files Browse the repository at this point in the history
  • Loading branch information
Gankra committed May 3, 2024
1 parent 24edb7f commit a591ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/site/page/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl Page {
context: &T,
) -> Result<Self> {
let contents =
templates.render_to_string(template_name, Value::from_serializable(context))?;
templates.render_to_string(template_name, Value::from_serialize(context))?;
Ok(Self {
contents,
filename: filename.to_string(),
Expand Down

0 comments on commit a591ac8

Please sign in to comment.