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 | 是否开启打赏 |
评论