~vikanezrimaya/kittybox

d0a424cbb7fa8bdc941fc1def43dad5d11ea31bf — Vika 1 year, 10 months ago a5b5838
Show rainbow hearts on webinteractions widget too

More rainbows! 🏳️‍🌈
1 files changed, 5 insertions(+), 1 deletions(-)

M kittybox-rs/templates/src/mf2.rs
M kittybox-rs/templates/src/mf2.rs => kittybox-rs/templates/src/mf2.rs +5 -1
@@ 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 {