diff --git a/bard/Cargo.toml b/bard/Cargo.toml index 0fdca86..2d11b18 100644 --- a/bard/Cargo.toml +++ b/bard/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bard" -version = "0.0.14" +version = "0.0.15" edition = "2024" description = "Dioxus components that will display a Tavern blogging system Blog." repository = "/CyberMages/tavern" diff --git a/bard/src/components.rs b/bard/src/components.rs index 6d294b8..43d4ffc 100644 --- a/bard/src/components.rs +++ b/bard/src/components.rs @@ -48,7 +48,13 @@ pub fn TagItem(tag: String, style: String) -> Element li { class: "tag_item", - a { class: "{style}", "{tag}" } + Link + { + class: "{style}", + to: Page::Blog { tag: tag.clone() }, + span { "{tag}" } + } +// a { class: "{style}", "{tag}" } } } }