Since `v0.68.0`, HBS uses Hugo Pipes to generate CSS and JS assets, there are a lot of breaking changes, please check out the
CHANGELOG and
UPGRADE for details.
This theme provides several kinds of layouts, such as
posts and
docs.
Our documentation uses the
docs layout. If you're looking for an example that using
posts layout,
please take a look at the page
Markdown Syntax.
打賞小部件,又稱buy me a coffee小部件,其通過使用捐贈或小費,為讀者提供了一種支持創作者的筦道。
網站參數
reward 參數是從平臺映射到二維碼影像的鍵值對,因此支持任何支持二維碼的平臺。
| 名稱 | 類型 | 預設值 | 描述 |
reward | Object | - | 打賞。 |
reward.alipay | String | - | 支付寶收款二維碼圖片。 |
reward.wechat | String | - | 微信收款/打賞二維碼圖片。 |
頁面配置
| 名稱 | 類型 | 預設值 | 描述 |
reward | Boolean | true | 是否開啟打賞小部件 |
評論