diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/Cargo.toml | 2 | ||||
-rw-r--r-- | templates/src/templates.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/Cargo.toml b/templates/Cargo.toml index 6209e76..5281418 100644 --- a/templates/Cargo.toml +++ b/templates/Cargo.toml @@ -29,7 +29,7 @@ axum = "^0.7.5" version = "^0.4.19" features = ["serde"] [dependencies.kittybox-util] -version = "0.1.0" +version = "0.2.0" path = "../util" [dependencies.kittybox-indieauth] version = "0.2.0" diff --git a/templates/src/templates.rs b/templates/src/templates.rs index 3d22eac..0f55927 100644 --- a/templates/src/templates.rs +++ b/templates/src/templates.rs @@ -1,9 +1,9 @@ use http::StatusCode; -use kittybox_util::MicropubChannel; +use kittybox_util::micropub::Channel; use crate::{Feed, VCard}; markup::define! { - Template<'a>(title: &'a str, blog_name: &'a str, feeds: Vec<MicropubChannel>, user: Option<&'a kittybox_indieauth::ProfileUrl>, content: String) { + Template<'a>(title: &'a str, blog_name: &'a str, feeds: Vec<Channel>, user: Option<&'a kittybox_indieauth::ProfileUrl>, content: String) { @markup::doctype() html { head { |