TagItems should now link to the blog list.

This commit is contained in:
2025-09-08 18:48:25 -04:00
parent 1f502a7386
commit c3ee3bef0a
2 changed files with 8 additions and 2 deletions

View File

@ -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"

View File

@ -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}" }
}
}
}