The Blog page should now be able to show all.

This commit is contained in:
2025-09-08 20:52:42 -04:00
parent c3ee3bef0a
commit fe87b2f195
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "bard"
version = "0.0.15"
version = "0.0.16"
edition = "2024"
description = "Dioxus components that will display a Tavern blogging system Blog."
repository = "/CyberMages/tavern"

View File

@ -52,7 +52,7 @@ pub fn TagItem(tag: String, style: String) -> Element
{
class: "{style}",
to: Page::Blog { tag: tag.clone() },
span { "{tag}" }
"{tag}"
}
// a { class: "{style}", "{tag}" }
}

View File

@ -15,7 +15,7 @@ pub fn Blog(tag: String) -> Element
{
let mut categories: Vec<String> = vec![];
if !tag.is_empty()
if !tag.is_empty() && tag != "all"
{
categories.push(tag);
}