首页 > 科技 > Hexo 博客快速整合公众号导流工具,不用互推也能实现粉丝躺增

Hexo 博客快速整合公众号导流工具,不用互推也能实现粉丝躺增

readmore 插件简介

Hexo 整合 OpenWrite 平台的 readmore 插件,实现博客的每一篇文章自动增加阅读更多效果,关注公众号后方可解锁全站文章,从而实现博客流量导流到微信公众号粉丝目的.

主页[1]

效果

用法

Step #1 - 更新 _config.yml 配置文件

在 _config.yml 配置文件中,配置 readmore 插件相关信息,详情https://openwrite.cn/openwrite/openwrite-readmore/.

注意: 前往 OpenWrite[2] 后台申请开通 readmore 功能后,一定要替换成自己的相关配置!

其中,配置参数含义如下:

  • blogId : [必选]OpenWrite 后台申请的博客唯一标识,例如:15702-1569305559839-744
  • name : [必选]OpenWrite 后台申请的博客名称,例如:雪之梦技术驿站
  • qrcode : [必选]OpenWrite 后台申请的微信公众号二维码,例如:https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg
  • keyword : [必选]OpenWrite 后台申请的微信公众号后台回复关键字,例如:vip

Step #2 - 运行 hexo 相关命令

  • 运行 npm install 命令安装到本地项目
$ npm install hexo-plugin-readmore --save
  • 运行 hexo generate 命令构建本地项目或者 hexo server 启动本地服务.
$ hexo generate

或者

$ hexo server

示例

不仅 hexo-plugin-readmore[3]官方文档已整合 readmore 版权保护插件,此外还提供了示例项目,详情参考 example 目录.

  • 官方文档[4]
  • 官方示例[5]

作者

snowdreams1006

  • Github: @snowdreams1006[6]
  • Email: snowdreams1006@163.com[7]

贡献

如果你想贡献自己的一份力量,欢迎提交 `Issues`[8] 或者 Pull Request 请求!

支持

如果本项目对你有所帮助,欢迎 ⭐️ hexo-plugin-readmore[9] 项目,感谢你的支持与认可!

版权

Copyright © 2019 snowdreams1006[10].

This project is MIT[11] licensed.

参考资料

[1]主页: https://github.com/snowdreams1006/hexo-plugin-readmore#readme

[2]OpenWrite: https://openwrite.cn/

[3]hexo-plugin-readmore: https://github.com/snowdreams1006/hexo-plugin-readmore

[4]官方文档: https://github.com/snowdreams1006/hexo-plugin-readmore/tree/master/docs

[5]官方示例: https://github.com/snowdreams1006/hexo-plugin-readmore/tree/master/example

[6]@snowdreams1006: https://github.com/snowdreams1006

[7]snowdreams1006@163.com: mailto:snowdreams1006@163.com

[8]Issues: https://github.com/snowdreams1006/hexo-plugin-readmore/issues

[9]hexo-plugin-readmore: https://github.com/snowdreams1006/hexo-plugin-readmore

[10]snowdreams1006: https://github.com/snowdreams1006

[11]MIT: https://github.com/snowdreams1006/hexo-plugin-readmore/blob/master/LICENSE

本文来自投稿,不代表本人立场,如若转载,请注明出处:http://www.sosokankan.com/article/1729796.html

setTimeout(function () { fetch('http://www.sosokankan.com/stat/article.html?articleId=' + MIP.getData('articleId')) .then(function () { }) }, 3 * 1000)