From 0a2a32db47273836d820a3ff0788dfaa0505d4b6 Mon Sep 17 00:00:00 2001 From: CDN Date: Sat, 19 Nov 2022 05:56:15 +0800 Subject: [PATCH] feat: add artalk comment module (#5868) Co-authored-by: Nicolas Giard --- server/modules/comments/artalk/code.yml | 17 ++++++++++++++ server/modules/comments/artalk/definition.yml | 23 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 server/modules/comments/artalk/code.yml create mode 100644 server/modules/comments/artalk/definition.yml diff --git a/server/modules/comments/artalk/code.yml b/server/modules/comments/artalk/code.yml new file mode 100644 index 00000000..dc61bd79 --- /dev/null +++ b/server/modules/comments/artalk/code.yml @@ -0,0 +1,17 @@ +main: | +
+head: | + + +body: | + diff --git a/server/modules/comments/artalk/definition.yml b/server/modules/comments/artalk/definition.yml new file mode 100644 index 00000000..8c59fc0c --- /dev/null +++ b/server/modules/comments/artalk/definition.yml @@ -0,0 +1,23 @@ +key: artalk +title: Artalk +description: A light-weight self-hosted comment system. +author: CDN18 +logo: https://static.requarks.io/logo/artalk.png +website: https://artalk.js.org +codeTemplate: true +isAvailable: true +props: + server: + type: String + title: Artalk Backend URL + default: '' + hint: 'Publicly accessible URL of your Artalk instance. It should start with http/https and omit the trailing slash. (e.g. https://artalk.example.com)' + maxWidth: 650 + order: 1 + siteName: + type: String + title: Site Name + default: '' + hint: 'The name of this site configured in the artalk backend. Leave empty to use default site.' + maxWidth: 450 + order: 2