From ea38ece50773d66458760a936bd870ff50bc9175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=85=95=E6=9E=AB?= Date: Fri, 23 Apr 2021 14:28:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0Vssue=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/config.yaml | 7 +++++ layouts/partials/comments/provider/vssue.html | 26 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 layouts/partials/comments/provider/vssue.html diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 0c5c72f..2910cbb 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -60,6 +60,13 @@ params: site: locale: + vssue: + platform: + owner: + repo: + clientId: + clientSecret: + widgets: enabled: - search diff --git a/layouts/partials/comments/provider/vssue.html b/layouts/partials/comments/provider/vssue.html new file mode 100644 index 0000000..50f55d0 --- /dev/null +++ b/layouts/partials/comments/provider/vssue.html @@ -0,0 +1,26 @@ +{{- with .Site.Params.comments.vssue -}} + + +
+ + + + + +{{- end -}}