From 909bf2d4126c588ebe23cd877ac8988367a3eec8 Mon Sep 17 00:00:00 2001 From: wood Date: Wed, 6 Jan 2021 14:13:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0remark42=E7=9A=84=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E7=B3=BB=E7=BB=9F=E6=94=AF=E6=8C=81=EF=BC=8Cconfig?= =?UTF-8?q?=E4=B8=AD=E5=A2=9E=E5=8A=A0=E5=AF=B9=E5=BA=94=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/config.yaml | 3 + .../partials/comments/provider/remark42.html | 60 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 layouts/partials/comments/provider/remark42.html diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index fb89f51..e51b9ab 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -51,6 +51,9 @@ params: issueTerm: pathname label: theme: preferred-color-scheme + remark42: + host: # remark42服务端地址 + site: # remark site id参数 widgets: enabled: diff --git a/layouts/partials/comments/provider/remark42.html b/layouts/partials/comments/provider/remark42.html new file mode 100644 index 0000000..c8dce1b --- /dev/null +++ b/layouts/partials/comments/provider/remark42.html @@ -0,0 +1,60 @@ +
+ +
+ + \ No newline at end of file