From fcf5e7fdd823839db753e310a22dbe6a9f421203 Mon Sep 17 00:00:00 2001 From: Rise <8315221+AmazingRise@users.noreply.github.com> Date: Sat, 14 Aug 2021 14:01:03 +0800 Subject: Updated Comment (markdown) --- Comment.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Comment.md b/Comment.md index 16983c0..f4294da 100644 --- a/Comment.md +++ b/Comment.md @@ -4,9 +4,9 @@ Now, this theme support these comment service: - LiveRe - Gitalk - Disqus -- Valine - Twikoo - Waline +- Utterances ### Customizing existing comment service @@ -80,6 +80,25 @@ walineServer = "https://yourappaddress.vercel.app" `walineServer` is corresponding to `serverURL`. +#### Utterances + +Edit your `config.toml` in the hugo website's root directory. + +Add the following line to the section `[params]` +```toml +enableUtterances = true +``` + +And add a new section named `params.utterances`, like this: + +```toml +[params.utterances] +repo="your repo" +term="[ENTER TERM HERE]" +label="your label" +theme="github-light" +``` + #### Other To add other services, you can edit `./layouts/partials/comment.html` and `./layouts/partials/head.html` by yourself. -- cgit v1.2.3