chore(*): update theme & docs

pull/832/head
ppoffice 2020-08-18 00:09:52 -04:00
parent 32508e9f01
commit 517e60f848
No known key found for this signature in database
GPG Key ID: B33335481CC0D498
5 changed files with 43 additions and 2 deletions

View File

@ -9,7 +9,7 @@
"bulma-stylus": "0.8.0",
"hexo": "^5.0.2",
"hexo-algolia": "^1.3.1",
"hexo-component-inferno": "^0.5.0",
"hexo-component-inferno": "^0.6.0",
"hexo-deployer-git": "^2.0.0",
"hexo-filter-github-emojis": "^2.1.0",
"hexo-generator-archive": "^1.0.0",
@ -19,7 +19,7 @@
"hexo-renderer-marked": "^3.0.0",
"hexo-renderer-stylus": "^1.1.0",
"hexo-server": "^2.0.0",
"hexo-theme-icarus": "^4.0.0-rc.1",
"hexo-theme-icarus": "https://github.com/ppoffice/hexo-theme-icarus",
"inferno": "^7.3.3",
"inferno-create-element": "^7.3.3"
}

View File

@ -255,6 +255,7 @@ for the detailed configuration process of DisqusJS.
proxy: # Optional
flip_move_options: # Optional
enable_hotkey: true # Optional
language: zh-CN # Optional
{% endcodeblock %}
3. You can review the description and possible values of the above configuration at

View File

@ -8,6 +8,9 @@ tags:
language: en
toc: true
donates:
-
type: afdian
url: https://afdian.net/
-
type: alipay
qrcode: /gallery/donate/alipay.png
@ -57,6 +60,22 @@ Please refer to it for a complete list of supported buttons and their configurat
</div>
</article>
## Afdian.net
**Installation Guide**
1. Register for [Afdian.net](https://afdian.net/) and copy the URL to your personal page.
2. Add the following configuration to your theme configurations:
{% codeblock themes/icarus/_config.yml lang:yaml %}
donates:
-
type: afdian
# Path to your afdian.net personal page
url: /path/to/afdian.net/personal/page
{% endcodeblock %}
## Alipay
**Installation Guide**

View File

@ -258,6 +258,7 @@ providers:
proxy: # 可选填
flip_move_options: # 可选填
enable_hotkey: true # 可选填
language: zh-CN # 可选填
{% endcodeblock %}
3. 关于上述配置的含义和可选值,请参考[Gitalk文档](https://github.com/gitalk/gitalk)或

View File

@ -8,6 +8,9 @@ tags:
language: zh-CN
toc: true
donates:
-
type: afdian
url: https://afdian.net/
-
type: alipay
qrcode: /gallery/donate/alipay.png
@ -63,6 +66,23 @@ donates:
}
</style>
## 爱发电
**安装指南**
1. 注册[爱发电](https://afdian.net/)并复制个人页面的地址。
2. 将如下配置添加到主题配置中:
{% codeblock themes/icarus/_config.yml lang:yaml %}
donates:
-
type: afdian
# 个人赞助页面的地址
url: /path/to/afdian/personal/page
{% endcodeblock %}
## 支付宝
**安装指南**