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

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaohan Yang <37651510+haohanyang@users.noreply.github.com>2020-09-28 12:20:43 +0300
committerGitHub <noreply@github.com>2020-09-28 12:20:43 +0300
commitc743559a4e8ec9ea53e2aa52f40ba87d426cc879 (patch)
tree00091f471d862c56dcd0890e23fdf4167c07c2a2 /README.md
parent950e6f6b0248c339670ecd881dd20f3441e1ca40 (diff)
Add Disqus-integrationv2.1.0
Fixes #38
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 12002d2..cc0a97f 100644
--- a/README.md
+++ b/README.md
@@ -102,6 +102,18 @@ Feel free to submit pull requests for other translations of Tale's texts.
[Hugo documentation for multilingual sites](//gohugo.io/content-management/multilingual/)
+### Disqus
+Tale supports Disqus integration, a comment system that empowers dynamic features to static websites. To install it, just add the key `disqusShortname` in your `config.toml`
+``` toml
+disqusShortname = "disqus-example"
+```
+Add the parameter `comments` in the front-matter of the pages where you want to allow comments
+```
+---
+comments: true
+---
+```
+
### Custom summaries
Tale allows for writing the summary of your posts manually by setting the `summary` variable in the page frontmatter. If this variable is not set, the summary that Hugo automatically generates will be used.