From fb2f641e18094165029f211c092f3403113d527e Mon Sep 17 00:00:00 2001 From: de-souza <43355143+de-souza@users.noreply.github.com> Date: Wed, 30 Oct 2019 14:54:15 +0100 Subject: Simplify config --- README.md | 4 ++-- config.yaml | 5 ++--- layouts/partials/comments.html | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 79798d2..59a2180 100644 --- a/README.md +++ b/README.md @@ -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 }} {{end}} {{end}} -- cgit v1.2.3