查看主题作者的文档

主题默认使用 less 作为 css 预处理工具。 命令hexo s 服务器打开没有样式请用less编译

cnpm install hexo-renderer-less --save

用于生成 rss。

cnpm install hexo-generator-feed --save

用于生成静态站点数据,用作站内搜索的数据源。

cnpm install hexo-generator-json-content --save

用于生成微信分享二维码。可选,不安装时会请求 jiathis Api 生成二维码。

cnpm install hexo-helper-qrcode --save

开启标签页
修改hexo/source/tags/index.md的元数据

hexo new page tags

开启分类页,仅 card theme 支持。
修改hexo/source/categories/index.md的元数据

hexo new page categories

indigo支持hypercomments评论

  1. https://www.hypercomments.com/ 注册账号,仅支持 Google 账号注册。
  2. 按提示一步步往下走。
  3. 完成之后,在设置页面,找到 Widget ->code 中的 widget_id 值。
  4. 到主题配置文件中填写#hyper_id: widget_id