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

github.com/chipzoller/hugo-clarity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Terakedis <26422950+rterakedis@users.noreply.github.com>2022-02-09 08:48:14 +0300
committerweru <16350351+onweru@users.noreply.github.com>2022-02-09 23:08:36 +0300
commitd6070315c8940916c6d1ee455b04dd6233ea5196 (patch)
tree144c079d21c7e00ccd1ba100843ce8bc84ff01a1 /README.md
parent8b5d548051d8cbf9e40aef40e1fdefeedc4ad58a (diff)
Adding Utterances Support
Adding support for Utterances Comments Signed-off-by: Robert Terakedis <26422950+rterakedis@users.noreply.github.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5e08f1f..57b6438 100644
--- a/README.md
+++ b/README.md
@@ -693,6 +693,20 @@ You can override these setting from each post individually. For example, you may
> please use `comments` and not `comment`
+#### Utterances Commenting Support
+
+ If you wish use [Utterances](https://github.com/utterance/utterances) comments on your site, you'll need to perform the following:
+
+ * Ensure you have a GitHub public repository, which you've granted permissions to the [Utterances GitHub App](https://github.com/apps/utterances).
+ * Comment out the line for `disqusShortname = ""` in the `/config/_default/config.toml` file.
+ * Set `comments = true` in the `/config/_default/params.toml` file.
+ * Configure the utterances parameters in the `/config/_default/params.toml` file.
+
+ Utterances is loaded in the `comments.html` partial by referring to the `utterances.html` partial. Since `single.html` layout loads comments if comments are enabled, you must ensure *both* the `comments` and `utterances` parameters are configured.
+
+
+
+
### Math notation
Clarity uses [KaTeX](https://katex.org/) for math type setting if `enableMathNotation` is set to `true` in global or page parameters (the latter takes precedence).