mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
🎉 Feat: add Artalk comment support (#54)
This commit is contained in:
+11
-5
@@ -707,13 +707,19 @@ enableEmoji = true
|
||||
# Comment config
|
||||
# 评论系统设置
|
||||
[params.page.comment]
|
||||
enable = true
|
||||
# Artalk comment system config
|
||||
# Artalk 评论系统设置
|
||||
enable = false
|
||||
# Artalk comment config (https://artalk.js.org/) since v0.2.12
|
||||
# Artalk 评论系统设置 (https://artalk.js.org/) since v0.2.12
|
||||
[params.page.comment.artalk]
|
||||
enable = true
|
||||
enable = false
|
||||
server = "https://yourdomain/api/"
|
||||
sitename = "默认站点"
|
||||
site = "your site name"
|
||||
placeholder = ""
|
||||
noComment = ""
|
||||
sendBtn = ""
|
||||
editorTravel = true
|
||||
flatMode = 'auto'
|
||||
maxNesting = 3
|
||||
# Disqus comment config (https://disqus.com/)
|
||||
# Disqus 评论系统设置 (https://disqus.com/)
|
||||
[params.page.comment.disqus]
|
||||
|
||||
@@ -58,7 +58,8 @@ math:
|
||||
* :(far fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
|
||||
* :(fas fa-comment fa-fw): **Telegram comments** system supported by [Comments](https://comments.app/)
|
||||
* :(fas fa-comment-dots fa-fw): **Commento** comment system supported by [Commento](https://commento.io/)
|
||||
* :(fas fa-comment-alt fa-fw): **Utterances** comment system supported by [Utterances](https://utteranc.es/)
|
||||
* :(far fa-comment-alt fa-fw): **Utterances** comment system supported by [Utterances](https://utteranc.es/)
|
||||
* :(far fa-comment-alt fa-fw): **Artalk** comment system supported by [Artalk](https://artalk.js.org/)
|
||||
|
||||
#### Extended Features
|
||||
|
||||
@@ -120,4 +121,5 @@ Thanks to the authors of following resources included in the theme:
|
||||
* [Valine](https://valine.js.org/)
|
||||
* [cookieconsent](https://github.com/osano/cookieconsent)
|
||||
* [Watermark](https://github.com/Lruihao/watermark)
|
||||
* [pangu.js](https://github.com/vinta/pangu.js)
|
||||
* [pangu.js](https://github.com/vinta/pangu.js)
|
||||
* [Artalk](https://artalk.js.org/)
|
||||
@@ -59,6 +59,7 @@ math:
|
||||
* :(fas fa-comment fa-fw): 支持 **[Telegram comments](https://comments.app/) 评论**系统
|
||||
* :(fas fa-comment-dots fa-fw): 支持 **[Commento](https://commento.io/)** 评论系统
|
||||
* :(far fa-comment-alt fa-fw): 支持 **[Utterances](https://utteranc.es/)** 评论系统
|
||||
* :(far fa-comment-alt fa-fw): 支持 **[Artalk](https://artalk.js.org/)** 评论系统
|
||||
|
||||
#### 扩展功能
|
||||
|
||||
@@ -121,3 +122,4 @@ FixIt 主题中用到了以下项目,感谢它们的作者:
|
||||
* [cookieconsent](https://github.com/osano/cookieconsent)
|
||||
* [Watermark](https://github.com/Lruihao/watermark)
|
||||
* [pangu.js](https://github.com/vinta/pangu.js)
|
||||
* [Artalk](https://artalk.js.org/)
|
||||
|
||||
@@ -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 >}}
|
||||
|
||||
Reference in New Issue
Block a user