diff options
author | Mark Powers <mark@marks.kitchen> | 2020-12-30 22:28:39 -0600 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2020-12-30 22:28:39 -0600 |
commit | 5137bb9b277fcd45327680166c9e39f26ec48c45 (patch) | |
tree | a6084de81b4e993d29b34cecf8bf664212fbf654 /src/templates | |
parent | 572671a916335fbbe8766b37b683b8a585c49abd (diff) |
Add like button to posts
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/feed.html | 5 |
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}}"> + 👍 ({{this.likes}}) + </a> </p> </div> {{/each}} -</div>
\ No newline at end of file +</div> |