From ecceb7afa9e0973ffc98336474eefe2544b60629 Mon Sep 17 00:00:00 2001
From: Alex Selimov
Date: Fri, 20 Mar 2026 13:00:23 -0400
Subject: [PATCH] Add option to hide upvotes
---
layouts/_default/single.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9b68f55..d9a1118 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -18,7 +18,7 @@
#{{ lower .LinkTitle }}
{{ end }}
-{{ if .Site.Params.upvotes }}
+{{ if and .Site.Params.upvotes (not .Params.hideUpvotes) }}