wm comments: if empty because of like/bookmark, show 💚

This commit is contained in:
Wouter Groeneveld 2021-05-16 21:30:09 +02:00
parent f77d94524f
commit 7e7ba09ce7
1 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,11 @@
{{ range $mentions }}
<article class="u-comment h-cite toot">
<p class="p-content p-name">
{{ .content | safeHTML }}
{{ if eq .content "" }}
<em>Liked 💚</em>
{{ else }}
{{ .content | safeHTML }}
{{ end }}
</p>
<div class="meta">
<svg class='icon icon-text' width='24' height='24'>