🎉 Feat: add Artalk comment support (#54)

This commit is contained in:
Cell
2022-01-30 21:29:26 +08:00
parent 01f4009881
commit 862d3130fe
16 changed files with 209 additions and 162 deletions
@@ -497,9 +497,21 @@ Please open the code block below to view the complete sample configuration :(far
Skype = false
Trello = false
Mix = false
# {{< version 0.2.0 changed >}} Comment config
# {{< version 0.2.13 changed >}} Comment config
[params.page.comment]
enable = true
enable = false
# {{< version 0.2.13 >}}
# {{< link "https://artalk.js.org/" Artalk >}} comment config (https://artalk.js.org/)
[params.page.comment.artalk]
enable = false
server = "https://yourdomain/api/"
site = "your site name"
placeholder = ""
noComment = ""
sendBtn = ""
editorTravel = true
flatMode = 'auto'
maxNesting = 3
# {{< link "https://disqus.com/" Disqus >}} comment config (https://disqus.com)
[params.page.comment.disqus]
# {{< version 0.1.1 >}}
@@ -508,9 +508,21 @@ hugo
Skype = false
Trello = false
Mix = false
# {{< version 0.2.0 changed >}} 评论系统设置
# {{< version 0.2.13 changed >}} 评论系统设置
[params.page.comment]
enable = true
enable = false
# {{< version 0.2.13 >}}
# {{< link "https://artalk.js.org/" Artalk >}} 评论系统设置 (https://artalk.js.org/)
[params.page.comment.artalk]
enable = false
server = "https://yourdomain/api/"
site = "你的网站名称"
placeholder = ""
noComment = ""
sendBtn = ""
editorTravel = true
flatMode = 'auto'
maxNesting = 3
# {{< link "https://disqus.com/" Disqus >}} 评论系统设置 (https://disqus.com)
[params.page.comment.disqus]
# {{< version 0.1.1 >}}