Socket
Socket
Sign inDemoInstall

gitalk-docs

Package Overview
Dependencies
285
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gitalk-docs


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

title: 首页 date: 2019-10-11 11:47:52 tags:

欢迎访问 hexo-plugin-gitalk 官网 👋

npm:version npm:download github:documentation github:maintenance npm:license github:snodreams1006 微信公众号:雪之梦技术驿站-brightgreen.svg

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

🏠 主页

效果

gitalk-use-preview.png

用法

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

_config.yml 配置文件中,配置 gitalk 插件相关信息,详情见 OpenWrite 微信公众号增长神器 "gitalk" 简介.

plugins:
  gitalk:
    clientID: 3f62415a283d19cbd696
    clientSecret: aed0e1db0620bf5d0e3a3f0225f801997ad74e58
    repo: hexo-plugin-gitalk
    owner: snowdreams1006
    admin: 
      - snowdreams1006
    distractionFreeMode: false

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

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

  • 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-gitalk --save
  • 运行 hexo generate 命令构建本地项目或者 hexo server 启动本地服务.
$ hexo generate

或者

$ hexo server

示例

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

作者

👤 snowdreams1006

🤝 贡献

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

支持

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

📝 版权

Copyright © 2019 snowdreams1006.

This project is MIT licensed.

FAQs

Last updated on 15 Oct 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc