diff options
Diffstat (limited to 'kittybox-rs')
-rw-r--r-- | kittybox-rs/templates/src/mf2.rs | 6 |
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 { |