Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.wiki.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRise <8315221+AmazingRise@users.noreply.github.com>2021-08-14 09:01:03 +0300
committerRise <8315221+AmazingRise@users.noreply.github.com>2021-08-14 09:01:03 +0300
commitfcf5e7fdd823839db753e310a22dbe6a9f421203 (patch)
treebab8fa3f71dc0f26900a8ab6d1edf84260b9cd48
parent2d1097b34a50714a69c7f43aa12a2f442d6781e7 (diff)
Updated Comment (markdown)
-rw-r--r--Comment.md21
1 files changed, 20 insertions, 1 deletions
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.