Add an endpoint to like posts

This commit is contained in:
Bat
2018-05-10 17:38:03 +01:00
parent ac7b4441e8
commit ee7dfee3ef
7 changed files with 79 additions and 4 deletions
+6
View File
@@ -13,6 +13,12 @@
</p>
<p>License: {{ post.license }}</p>
<hr>
<p>
{{ n_likes }} like{{ n_likes | pluralize }}
</p>
<a href="like">Add yours</a>
<h2>Comments</h2>
{% for comment in comments %}
<div id="comment-{{ comment.id }}">