My IndieBlocks plugin for WordPress had (or, well, still has) a block pattern or something that unlocks this type of display, rather than the default “facepile.” Come to think of it, that version could be unreleased, still.
Either way, in my Laravel app’s Entry
model, I simply have:
public function likes(): HasMany { return $this->hasMany(Comment::class) ->where('type', 'like'); }
And so on. In other words, likes are just comments, with a type of like
.
=> More informations about this toot | View the thread | More toots from janboddez@indieweb.social
text/gemini
This content has been proxied by September (3851b).