Add reactions to posts
This commit is contained in:
3
slices/main/templates/shared/_reactions.html.slim
Normal file
3
slices/main/templates/shared/_reactions.html.slim
Normal file
@@ -0,0 +1,3 @@
|
||||
button hx-post="/posts/#{post.slug}/react" hx-trigger="click" class="px-2 py-1 border rounded border-indigo-900 hover:border-indigo-400 text-indigo-200 mr-2" 👍 #{post.reactions.count}
|
||||
- if post.webmentions && post.webmentions.count == 0 && post.commentable
|
||||
a class="no-underline px-2 py-1 border rounded border-indigo-900 hover:border-indigo-400 text-indigo-200 mr-2" href="mailto:blog@dnitza.com?subject=About that post of yours&body=%0A%0A---%0A(In reply to #{post.permalink})" ✉️ Reply
|
Reference in New Issue
Block a user