From deba00c87205251d8ec49bdeb86a0763efa470db Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Mon, 14 Jun 2021 21:03:02 +0200 Subject: [PATCH] Remove double quote escape --- layouts/partials/comments/provider/waline.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/comments/provider/waline.html b/layouts/partials/comments/provider/waline.html index d4b418f..a983eb0 100644 --- a/layouts/partials/comments/provider/waline.html +++ b/layouts/partials/comments/provider/waline.html @@ -13,7 +13,7 @@ {{- with .Site.Params.comments.waline -}} -{{- $config := dict "el" "#waline" "dark" "body[data-scheme=\"dark\"]" -}} +{{- $config := dict "el" "#waline" "dark" `body[data-scheme="dark"]` -}} {{- $replaceKeys := dict "serverurl" "serverURL" "requiredmeta" "requiredMeta" "wordlimit" "wordLimit" "pagesize" "pageSize" "avatarcdn" "avatarCDN" "avatarforce" "avatarForce" -}} {{- range $key, $val := . -}} @@ -29,4 +29,4 @@ /// Waline client configuration see: https://waline.js.org/en/reference/client.html new Waline({{ $config | jsonify | safeJS }}); -{{- end -}} \ No newline at end of file +{{- end -}}