Añade trait JoinClasses para unir clases CSS

También elimina macros sin uso `join_op!` y `join_strict!` (KISS).
This commit is contained in:
Manuel Cillero 2025-11-08 08:07:59 +01:00
parent d5f0d83939
commit 5ec69345b3
6 changed files with 90 additions and 97 deletions

View file

@ -170,7 +170,7 @@ impl Asset for StyleSheet {
Source::From(path) => html! {
link
rel="stylesheet"
href=(join_pair!(path, "?v=", self.version.as_str()))
href=(join_pair!(path, "?v=", &self.version))
media=[self.media.as_str_opt()];
},
Source::Inline(_, f) => html! {