diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 ``` |