diff --git a/bard/Cargo.toml b/bard/Cargo.toml index 6898d2d..7ebe558 100644 --- a/bard/Cargo.toml +++ b/bard/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bard" -version = "0.0.12" +version = "0.0.13" edition = "2024" description = "Dioxus components that will display a Tavern blogging system Blog." repository = "/CyberMages/tavern" diff --git a/bard/src/page.rs b/bard/src/page.rs index 1a49f5a..4f1950f 100644 --- a/bard/src/page.rs +++ b/bard/src/page.rs @@ -8,9 +8,9 @@ use crate::pages::{Blog, Post}; #[rustfmt::skip] pub enum Page { - #[route("/blog/:tag")] + #[route("/:tag")] Blog { tag: String }, - #[route("/blog/post/:slug")] + #[route("/post/:slug")] Post { slug: String}, }