diff options
author | Rise <8315221+AmazingRise@users.noreply.github.com> | 2021-08-14 09:01:03 +0300 |
---|---|---|
committer | Rise <8315221+AmazingRise@users.noreply.github.com> | 2021-08-14 09:01:03 +0300 |
commit | fcf5e7fdd823839db753e310a22dbe6a9f421203 (patch) | |
tree | bab8fa3f71dc0f26900a8ab6d1edf84260b9cd48 | |
parent | 2d1097b34a50714a69c7f43aa12a2f442d6781e7 (diff) |
Updated Comment (markdown)
-rw-r--r-- | Comment.md | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -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. |