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

github.com/pavel-pi/kiss-em.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerma <margus@amrek.net>2018-12-11 11:19:59 +0300
committerKerma <margus@amrek.net>2018-12-11 11:19:59 +0300
commit22e3350431fa94c296b3b7899fc8cc9961f522d0 (patch)
tree626646daba73ac6b0f1d6d0b43acf434d95ccb8f
parentf53de7e3765b44cee002e0b041b0ca0d9b8e7948 (diff)
Update readme for discus on-demand
-rw-r--r--README.md21
1 files changed, 18 insertions, 3 deletions
diff --git a/README.md b/README.md
index fada061..8e31088 100644
--- a/README.md
+++ b/README.md
@@ -53,6 +53,9 @@ homeTitle = "" # Title for home page
poweredby = true # Adds powered by hugo and kiss below Copyright
related = true # Includes related articles at the bottom of the article
+[params.features]
+disqusOnDemand = true # Load Disqus comments on click
+
[params.opengraph.facebook]
admins = [] # array of Facebook IDs
@@ -104,14 +107,14 @@ To align images, add #c for center, #r/l for right/left.
#### Changing Social Menu Icons Order
- If you want to change the order of the social menu icons, modify the `[params.social.config]` section of your `config.toml` file:
+If you want to change the order of the social menu icons, modify the `[params.social.config]` section of your `config.toml` file:
- ```toml
+```toml
[params.social.config]
platforms = ["github","facebook","twitter","instagram","email","codepen","linkedin"]
```
- The social menu icons will appear in the order you specify in the `platforms` array.
+The social menu icons will appear in the order you specify in the `platforms` array.
## Add sections
Links can be added to the navbar (below the blog name and social links).
@@ -151,6 +154,18 @@ By default up to 5 articles will be shown (can be changed by cloning related.htm
To change the behaviour of how related articles are generated, check [official docs on Related Content](https://gohugo.io/content-management/related/).
+## Disqus Comments
+
+Hugo has a built-in support for [Disqus comments](https://gohugo.io/content-management/comments/#configure-disqus).
+In order to speed up your site full loading time you could load comments only after visitor
+requests them via clicking on the "Show comments" button. Use the following in the configuration to enable
+on demand loading:
+
+```toml
+[params.features]
+disqusOnDemand = true
+```
+
## Single Page Configuration
```