diff options
author | Vika <vika@fireburn.ru> | 2022-05-23 18:19:39 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-05-23 18:22:07 +0300 |
commit | 20867384e36fba1d33113dbdbb0bdd94aabf6760 (patch) | |
tree | de8b0ed59e86b5aa1adcf87d9ed6df91c03a7792 /kittybox-rs/templates/src/mf2.rs | |
parent | 067d6c4c08120bb9b93190911bd00adf9159bba1 (diff) | |
download | kittybox-20867384e36fba1d33113dbdbb0bdd94aabf6760.tar.zst |
templates: render like and bookmark posts correctly
They really use the same framework, so for now a unit test for like posts is sufficient. Of course, for proper coverage, one can introduce tests for bookmarks too, especially if one chooses to render them differently. The logic will be pretty much the same though. Replies might use the same logic, since those are also Webmention-oriented posts. (It looks like another way to classify MF2 documents is slowly forming in my brain. Maybe I should write about it on my blog.)
Diffstat (limited to 'kittybox-rs/templates/src/mf2.rs')
0 files changed, 0 insertions, 0 deletions