about summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-08-20 00:35:30 +0300
committerVika <vika@fireburn.ru>2024-08-20 01:46:13 +0300
commitd6a8525274ccd96a5ce9540ea2ba1e463c84ff90 (patch)
tree9daa6fceda3f019629f99acb1b150882a5e151d4 /templates
parenta46e16258f83cc5939c568bba3a62ccc28114365 (diff)
downloadkittybox-d6a8525274ccd96a5ce9540ea2ba1e463c84ff90.tar.zst
kittybox-util: 0.1.0 -> 0.2.0
Micropub types are now more coherent and gathered in one place.
Diffstat (limited to 'templates')
-rw-r--r--templates/Cargo.toml2
-rw-r--r--templates/src/templates.rs4
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 {