Skip to content

Commit

Permalink
Apply template fix accoring to ructe 0.17.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaj committed Jul 1, 2024
1 parent 86b1e9c commit e22b1fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
build = "src/build.rs"

[build-dependencies]
ructe = { version = "0.17.0", features = ["sass", "warp03"] }
ructe = { version = "0.17.2", features = ["sass", "warp03"] }

[dependencies]
async-trait = "0.1.64"
Expand Down
2 changes: 1 addition & 1 deletion templates/page_base.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@use crate::server::{Context, Link};

@(context: &Context, title: &str, lpath: &[Link], meta: Content, content: Content)
@:base_html(context, title, lpath, meta, {
@:base_html(context, title, lpath, {@:meta()}, {
<main>
<h1>@title</h1>
@:content()
Expand Down

0 comments on commit e22b1fe

Please sign in to comment.