From a1ed47cf971e3074eb16a8b1b0d365fd258ef97a Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Date: Mon, 29 Sep 2025 02:30:27 +0000
Subject: [PATCH] theme(fix): enable selfhosted commento.io URL

---
 layouts/partials/commento.html |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/commento.html b/layouts/partials/commento.html
index 54e7589..d4c075e 100644
--- a/layouts/partials/commento.html
+++ b/layouts/partials/commento.html
@@ -1,2 +1,3 @@
+{{ $url := site.Params.commentoPath | compare.Default "https://cdn.commento.io/js/commento.js" }}
 <div id="commento"></div>
-<script defer src="https://cdn.commento.io/js/commento.js"></script>
+<script defer src="{{- $url -}}"></script>

--
Gitblit v1.10.0