mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
Remove double quote escape
This commit is contained in:
parent
df4e868902
commit
deba00c872
@ -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 -}}
|
||||
|
Loading…
Reference in New Issue
Block a user