From b8a76222ff4134864976a03c061407e9a599ef97 Mon Sep 17 00:00:00 2001 From: WayJam So Date: Sun, 10 May 2020 16:44:27 +0800 Subject: update: valine comment config --- exampleSite/config.toml | 11 ++++++----- layouts/partials/comments.html | 18 ++++++++++-------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0558b7e..8461f20 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -35,15 +35,16 @@ postLicense = "" type = "none" [params.comment.valine] -appid = "appid" -appkey = "appkey" -notify = "notify" -verify = "verify" +appid = "your-appid" +appkey = "your-appkey" placeholder = "enjoy~" avatar = "mm" -meta = "nick,mail" pageSize = 10.0 visitor = false +recordIP = true +highlight = true +meta = "nick,mail" +requiredFields = "nick,mail" # Menu links along the sidebar navigation. [[menu.main]] diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index cb1b53a..e7cc87b 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -11,22 +11,24 @@
{{- else if eq $comment.type "disqus" }} -- cgit v1.2.3