From 2789edc0d6a1a1de14f97b6d0422c8179f7e11d3 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sun, 18 Feb 2024 19:55:16 +0100 Subject: [PATCH] Add all tags in posts #2 --- src/app/pages/posts.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/pages/posts.rs b/src/app/pages/posts.rs index 5d79a09..4c7cb4a 100644 --- a/src/app/pages/posts.rs +++ b/src/app/pages/posts.rs @@ -152,14 +152,12 @@ pub fn PostList() -> impl IntoView { match tag() { Some(tag) => { view! { - {tag} + <>{tag} }.into_view() }, None => { view! { -
- {tags_view} -
+ <>{tags_view} }.into_view() } } @@ -168,7 +166,8 @@ pub fn PostList() -> impl IntoView { view! { }>