Add anonymous upvote functionality
This commit is contained in:
parent
d3ce523bfe
commit
87bc37e124
3 changed files with 91 additions and 0 deletions
|
|
@ -18,6 +18,15 @@
|
|||
<a class="blog-tags" href="{{ .RelPermalink }}">#{{ lower .LinkTitle }}</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
{{ if .Site.Params.upvotes }}
|
||||
<div class="upvote">
|
||||
<button id="upvote-btn" aria-label="Upvote">
|
||||
<span id="upvote-chevron">⌃</span>
|
||||
<span id="upvote-count">—</span>
|
||||
</button>
|
||||
</div>
|
||||
<script src="/upvote.js"></script>
|
||||
{{ end }}
|
||||
{{ if not .Params.hideReply }}
|
||||
{{ with .Site.Params.author.email }}
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue