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

github.com/zhe/hugo-theme-slim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index f47c429..895b9cc 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,7 @@ You could add `params` into your site's `config.toml` file:
GithubID = "Your Github ID"
TwitterID = "Your Twitter ID"
AnalyticsID = "Your Google Analytics tracking code"
+ DisqusShortname = "Your Disqus shortname"
Summary = true # takes true or false
Content = false # takes true or false
# if both are set to true, summary is shown.
@@ -38,11 +39,17 @@ params:
GithubID: "Your Github ID"
TwitterID: "Your Twitter ID"
AnalyticsID: "Your Google Analytics tracking code"
+ DisqusShortname: "Your Disqus shortname"
Summary: true # takes true or false
Content: false # takes true or false
# if both are set to true, summary is shown
```
+### Enable Disqus to your post
+
+1. Add your Disqus Shortname to the site config file;
+2. You can enable Disqus per-post, by adding `comments: true` (YAML) or `comments = true` (TOML) in the front matter of your post. To disable it, you can either change the value to `false` or just not include `comments` variable and its value at all.
+
## Build your site
```