hexo-butterfly-hpptalk
v1.0.4
Published
Hexoplusplus-talk plugin for theme-butterfly
Downloads
98
Maintainers
Readme
hexo-butterfly-hpptalk
給 hexo-theme-butterfly 添加 hexoplusplus 説説
安裝
安裝插件
npm install hexo-butterfly-hpptalk
前期部署 參考 hexoplusplus 文檔 - 快速上手
添加配置信息 在 Hexo 的配置文件 或者 主題的配置文件中添加
# HexoPlusPlus Talk # see https://hexoplusplus.js.org hpptalk: enable: true domain: path: limit: start: js: css: option: front_matter:
| 參數 | 解釋 | | ------------ | ------------------------------------------------------------ | | domain | 【必須】您的 HexoPlusPlus 域名,如 admin.immyw.com | | limit | 【可選】單次獲取的最多條數(默認
8
) | | start | 【可選】從第幾條開始(默認0
) | | path | 【可選】hpptalk 的路徑名稱(默認為hpptalk
,生成的頁面為 hpptalk/index.html) | | js | 【可選】更換 hpptalk 的 JS CDN(默認:https://cdn.jsdelivr.net/gh/HexoPlusPlus/HexoPlusPlus@latest/talk_user.js
) | | css | 【可選】更換 hpptalk 的 CSS CDN(默認https://cdn.jsdelivr.net/gh/HexoPlusPlus/HexoPlusPlus@latest/talk.css
) | | option | 【可選】hpptalk 需要的額外配置 | | front_matter | 【可選】hpptalk 頁面的 front_matter 配置 |