diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | config.yaml | 5 | ||||
-rw-r--r-- | layouts/partials/comments.html | 2 |
3 files changed, 5 insertions, 6 deletions
@@ -66,12 +66,12 @@ params: rss: To subscribe to this RSS feed, copy its address and paste it into your favorite feed reader. summaries: false # Set to true to show summaries of posts on homepage + divider: '\2015\2015' # Set to false to remove divider below posts on homepage schema: false # Set to true to add Schema.org metadata opengraph: false # Set to true to add Open Graph metadata twittercards: false # Set to true to add Twitter Cards metadata utterances: - enabled: false # Set to true to add Utterances comments to single posts - repo: + repo: # Set to Utterances repo URL to add Utterances comments issueterm: pathname theme: github-light netlify: diff --git a/config.yaml b/config.yaml index 5756efa..d70dd6a 100644 --- a/config.yaml +++ b/config.yaml @@ -7,18 +7,17 @@ params: rss: To subscribe to this RSS feed, copy its address and paste it into your favorite feed reader. summaries: false # Set to true to show summaries of posts on homepage + divider: '\2015\2015' # Set to false to remove divider below posts on homepage schema: false # Set to true to add Schema.org metadata opengraph: false # Set to true to add Open Graph metadata twittercards: false # Set to true to add Twitter Cards metadata utterances: - enabled: false # Set to true to add Utterances comments to single posts - repo: + repo: # Set to Utterances repo URL to add Utterances comments issueterm: pathname theme: github-light netlify: honeypot: false # Set to true to add honeypot field in contact form recaptcha: false # Set to true to add recaptcha challenge in contact form - divider: '\2015\2015' # Set to false to remove divider below posts on homepage menu: nav: diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 78cf3cb..447116a 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -1,5 +1,5 @@ {{ with site.Params.utterances }} -{{ if in site.Params.mainSections $.Type | and .enabled }} +{{ if in site.Params.mainSections $.Type | and .repo }} <script src="https://utteranc.es/client.js" repo="{{ .repo }}" issue-term="{{ .issueterm }}" theme="{{ .theme }}" crossorigin="anonymous" async></script> {{end}} {{end}} |