From af02f4682d8f1dffcc0b3cb0057cabc97f0fec0c Mon Sep 17 00:00:00 2001 From: mapleafgo Date: Wed, 7 Jul 2021 17:35:24 +0800 Subject: [PATCH] fix(comment vssue): Add parameters 'autoCreateIssue', it's default false --- exampleSite/config.yaml | 1 + layouts/partials/comments/provider/vssue.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index bf03343..578c574 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -67,6 +67,7 @@ params: repo: clientId: clientSecret: + autoCreateIssue: false # Waline client configuration see: https://waline.js.org/en/reference/client.html waline: diff --git a/layouts/partials/comments/provider/vssue.html b/layouts/partials/comments/provider/vssue.html index 12a9282..0a9ea56 100644 --- a/layouts/partials/comments/provider/vssue.html +++ b/layouts/partials/comments/provider/vssue.html @@ -14,7 +14,7 @@ props: { title: "{{ $.Title }}", options: { - autoCreateIssue: true, + autoCreateIssue: {{ default false .autoCreateIssue }}, owner: "{{ .owner }}", repo: "{{ .repo }}", clientId: "{{ .clientId }}",