From eebd5ade09c916e82f612b17fa7eba6c2d55b031 Mon Sep 17 00:00:00 2001 From: ciallowo <76084546+ciallowo@users.noreply.github.com> Date: Mon, 7 Jun 2021 22:50:14 +0800 Subject: [PATCH] fix: waline client config --- exampleSite/config.yaml | 16 +++++++-------- .../partials/comments/provider/waline.html | 20 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 9fa81ff..2b5fbe6 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -67,18 +67,18 @@ params: clientId: clientSecret: - # Waline 前端配置参见 https://waline.js.org/client/basic.html - # Waline client configuration see: https://waline.js.org/en/client/basic.html + # Waline 前端配置参见 https://waline.js.org/reference/client.html + # Waline client configuration see: https://waline.js.org/en/reference/client.html waline: serverURL: - placeholder: - wordLimit: + lang: + visitor: avatar: - avatarCDN: - emojiCDN: - guest_info: "nick,mail,link" - requiredFields: + emoji: + dark: auto admin: + requiredMeta: + placeholder: widgets: enabled: diff --git a/layouts/partials/comments/provider/waline.html b/layouts/partials/comments/provider/waline.html index 76db47e..6c757ec 100644 --- a/layouts/partials/comments/provider/waline.html +++ b/layouts/partials/comments/provider/waline.html @@ -11,20 +11,20 @@ {{- with .Site.Params.comments.waline -}}