-
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
315 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
+++ | ||
title = "Funding Widget" | ||
date = 2023-01-29T19:44:19+08:00 | ||
featured = false | ||
comment = true | ||
toc = true | ||
categories = [ | ||
"Widget" | ||
] | ||
tags = [ | ||
"Buy Me a Coffee", "Funding" | ||
] | ||
series = [ | ||
"Docs" | ||
] | ||
images = [] | ||
authors = ["RazonYang"] | ||
[menu.footer] | ||
parent = "features" | ||
weight = 7 | ||
[menu.footer.params] | ||
icon = '<i class="fas fa-fw fa-coffee"></i>' | ||
+++ | ||
|
||
The funding widget, AKA buy me a coffee widget, gives the readers a way to support a creator. | ||
|
||
<!--more--> | ||
|
||
## Site Parameters | ||
|
||
The `funding` is a key value pair that mapping from platform to their QR Code image, username or URL. | ||
|
||
| Name | Type | Default | Description | ||
|---|:-:|:-:|--- | ||
| `funding` | Object | - | | ||
| `funding.alipay` | String | - | Alipay QR Code Image. | ||
| `funding.wechat` | String | - | Wechat QR Code Image. | ||
| `funding.paypal` | String | - | Paypal username. | ||
| `funding.ko_fi` | String | - | Ko-fi username. | ||
| `funding.patreon` | String | - | Patreon username. | ||
| `funding.open_collective` | String | - | Open Collective username. | ||
|
||
## Page Parameter | ||
|
||
| Name | Type | Default | Description | ||
|---|:-:|:-:|--- | ||
| `funding` | Object | - | Override the global funding settings, empty to disable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
+++ | ||
title = "打赏小部件" | ||
date = 2023-01-29T19:44:19+08:00 | ||
featured = false | ||
comment = true | ||
toc = true | ||
categories = [ | ||
"小部件" | ||
] | ||
tags = [ | ||
] | ||
series = [ | ||
"文档" | ||
] | ||
images = [] | ||
authors = ["RazonYang"] | ||
[menu.footer] | ||
parent = "features" | ||
weight = 7 | ||
[menu.footer.params] | ||
icon = '<i class="fas fa-fw fa-coffee"></i>' | ||
+++ | ||
|
||
打赏小部件,又称 buy me a coffee 小部件,其通过使用捐赠或小费,为读者提供了一种支持创作者的管道。 | ||
|
||
<!--more--> | ||
|
||
## 站点配置 | ||
|
||
`funding` 参数是从平台映射到二维码图像、用户名或 URL 的键值对。 | ||
|
||
| 名称 | 类型 | 默认值 | 描述 | ||
|---|:-:|:-:|--- | ||
| `funding` | Object | - | 打赏。 | ||
| `funding.alipay` | String | - | 支付宝收款二维码图片。 | ||
| `funding.wechat` | String | - | 微信收款/打赏二维码图片。 | ||
| `funding.paypal` | String | - | Paypal 用户名。 | ||
| `funding.ko_fi` | String | - | Ko-fi 用户名。 | ||
| `funding.patreon` | String | - | Patreon 用户名。 | ||
| `funding.open_collective` | String | - | Open Collective 用户名。 | ||
|
||
## 页面配置 | ||
|
||
| 名称 | 类型 | 默认值 | 描述 | ||
|---|:-:|:-:|--- | ||
| `funding` | Object | - | 覆盖全局的 `funding` 设置,留空则禁用。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
+++ | ||
title = "打賞小部件" | ||
date = 2023-01-29T19:44:19+08:00 | ||
featured = false | ||
comment = true | ||
toc = true | ||
categories = [ | ||
"小部件" | ||
] | ||
tags = [ | ||
] | ||
series = [ | ||
"文檔" | ||
] | ||
images = [] | ||
authors = ["RazonYang"] | ||
[menu.footer] | ||
parent = "features" | ||
weight = 7 | ||
[menu.footer.params] | ||
icon = '<i class="fas fa-fw fa-coffee"></i>' | ||
+++ | ||
|
||
打賞小部件,又稱 buy me a coffee 小部件,其通過使用捐贈或小費,為讀者提供了一種支持創作者的筦道。 | ||
|
||
<!--more--> | ||
|
||
## 網站參數 | ||
|
||
`reward` 參數是從平臺映射到二維碼圖像、用戶名或 URL 的鍵值對,因此支持任何支持二維碼的平臺。 | ||
|
||
| 名稱 | 類型 | 預設值 | 描述 | ||
|---|:-:|:-:|--- | ||
| `funding` | Object | - | 打賞。 | ||
| `funding.alipay` | String | - | 支付寶收款二維碼圖片。 | ||
| `funding.wechat` | String | - | 微信收款/打賞二維碼圖片。 | ||
| `funding.paypal` | String | - | Paypal 用戶名。 | ||
| `funding.ko_fi` | String | - | Ko-fi 用戶名。 | ||
| `funding.patreon` | String | - | Patreon 用戶名。 | ||
| `funding.open_collective` | String | - | Open Collective 用戶名。 | ||
|
||
## 頁面配置 | ||
|
||
| 名稱 | 類型 | 預設值 | 描述 | ||
|---|:-:|:-:|--- | ||
| `funding` | Object | - | 覆蓋全局的 `funding` 設置,留空則禁用。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.