From e22b1fe7c3b9202c19285fc976d86c3cb12f8224 Mon Sep 17 00:00:00 2001 From: Rasmus Kaj Date: Mon, 1 Jul 2024 23:15:57 +0200 Subject: [PATCH] Apply template fix accoring to ructe 0.17.2. --- Cargo.toml | 2 +- templates/page_base.rs.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d720890..50eb14e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/templates/page_base.rs.html b/templates/page_base.rs.html index d53d8d1..ef9a7c4 100644 --- a/templates/page_base.rs.html +++ b/templates/page_base.rs.html @@ -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()}, {

@title

@:content()