Remove double quote escape

This commit is contained in:
Jimmy Cai 2021-06-14 21:03:02 +02:00 committed by GitHub
parent df4e868902
commit deba00c872
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@
</style>
{{- 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 }});
</script>
{{- end -}}
{{- end -}}