aboutsummaryrefslogtreecommitdiff
path: root/src/templates/feed.html
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2020-12-30 22:28:39 -0600
committerMark Powers <mark@marks.kitchen>2020-12-30 22:28:39 -0600
commit5137bb9b277fcd45327680166c9e39f26ec48c45 (patch)
treea6084de81b4e993d29b34cecf8bf664212fbf654 /src/templates/feed.html
parent572671a916335fbbe8766b37b683b8a585c49abd (diff)
Add like button to posts
Diffstat (limited to 'src/templates/feed.html')
-rw-r--r--src/templates/feed.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/templates/feed.html b/src/templates/feed.html
index d7494a2..ae3494c 100644
--- a/src/templates/feed.html
+++ b/src/templates/feed.html
@@ -21,7 +21,10 @@
<a class="tag" href="/tags/{{this}}">{{this}}</a>
{{/each}}
</span>
+ <a class="cool btn btn-secondary" href="/post/like/{{this.type}}/{{this.id}}">
+ &#128077; ({{this.likes}})
+ </a>
</p>
</div>
{{/each}}
-</div> \ No newline at end of file
+</div>