From 10b3ae55a5dbc023684af69a527a80cc3541da96 Mon Sep 17 00:00:00 2001 From: ciallowo <76084546+ciallowo@users.noreply.github.com> Date: Tue, 8 Jun 2021 17:23:45 +0800 Subject: [PATCH] fix: waline client config --- exampleSite/config.yaml | 15 ++++++------- .../partials/comments/provider/waline.html | 22 +++++++++---------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 9fa81ff..9ea3641 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -67,18 +67,17 @@ 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: admin: + requiredMeta: + placeholder: widgets: enabled: diff --git a/layouts/partials/comments/provider/waline.html b/layouts/partials/comments/provider/waline.html index 76db47e..5033d66 100644 --- a/layouts/partials/comments/provider/waline.html +++ b/layouts/partials/comments/provider/waline.html @@ -11,21 +11,21 @@ {{- with .Site.Params.comments.waline -}} {{- end -}}