Add option to hide upvotes

This commit is contained in:
Alex Selimov 2026-03-20 13:00:23 -04:00
parent 665da9bec6
commit ecceb7afa9

View file

@ -18,7 +18,7 @@
<a class="blog-tags" href="{{ .RelPermalink }}">#{{ lower .LinkTitle }}</a>
{{ end }}
</p>
{{ if .Site.Params.upvotes }}
{{ if and .Site.Params.upvotes (not .Params.hideUpvotes) }}
<div class="upvote">
<button id="upvote-btn" aria-label="Upvote">
<span id="upvote-chevron">&#8963;</span>