From d9acd770152f11ffc22abdf1a9d5723ab07669df Mon Sep 17 00:00:00 2001 From: Lparksi <60086490+Lparksi@users.noreply.github.com> Date: Wed, 21 May 2025 18:31:22 +0800 Subject: [PATCH] feat(comment/waline): add support for Waline's turnstileKey (#1140) * fix: Added support for waline's turnstileKey * style: remove extra space in waline.html --- layouts/partials/comments/provider/waline.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/comments/provider/waline.html b/layouts/partials/comments/provider/waline.html index 9d1a2a0..30a09eb 100644 --- a/layouts/partials/comments/provider/waline.html +++ b/layouts/partials/comments/provider/waline.html @@ -16,7 +16,7 @@ {{- with .Site.Params.comments.waline -}} {{- $config := dict "el" "#waline" "dark" `html[data-scheme="dark"]` -}} -{{- $replaceKeys := dict "serverurl" "serverURL" "requiredmeta" "requiredMeta" "wordlimit" "wordLimit" "pagesize" "pageSize" "imageuploader" "imageUploader" "texrenderer" "texRenderer" -}} +{{- $replaceKeys := dict "serverurl" "serverURL" "requiredmeta" "requiredMeta" "wordlimit" "wordLimit" "pagesize" "pageSize" "imageuploader" "imageUploader" "texrenderer" "texRenderer" "turnstilekey" "turnstileKey" -}} {{- range $key, $val := . -}} {{- if ne $val nil -}}