about summary refs log tree commit diff
path: root/kittybox-rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2023-01-22 07:28:24 +0300
committerVika <vika@fireburn.ru>2023-01-22 07:28:24 +0300
commitd0a424cbb7fa8bdc941fc1def43dad5d11ea31bf (patch)
treeee49e87fa75ef31321f68f8552eeba198813cdc8 /kittybox-rs
parenta5b58386ce158928a6697ab8179c0a7a773e472d (diff)
downloadkittybox-d0a424cbb7fa8bdc941fc1def43dad5d11ea31bf.tar.zst
Show rainbow hearts on webinteractions widget too
More rainbows! 🏳️‍🌈
Diffstat (limited to 'kittybox-rs')
-rw-r--r--kittybox-rs/templates/src/mf2.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/kittybox-rs/templates/src/mf2.rs b/kittybox-rs/templates/src/mf2.rs
index fd7eb1e..022a206 100644
--- a/kittybox-rs/templates/src/mf2.rs
+++ b/kittybox-rs/templates/src/mf2.rs
@@ -385,7 +385,11 @@ markup::define! {
         footer.webinteractions {
             ul.counters {
                 li {
-                    span.icon { "❤️" }
+                    span."icon like-icon"["aria-label"="likes"] {
+                        span."like-icon-label"["aria-hidden"="true"] {
+                            "❤️"
+                        }
+                    }
                     span.counter { @post["properties"]["like"].as_array().map(|a| a.len()).unwrap_or(0) }
                 }
                 li {