Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Blog quickly integrates the usage of official account diversion tool Hexo

Shulou Source: shulou.com Published: 2022-06-02 02:30:10 10月04日 Update

Blog quickly integrate the use of official account diversion tool Hexo, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

Introduction to the readmore plug-in

Hexo integrates the readmore plug-in of the OpenWrite platform to automatically increase the reading effect of each blog article, and unlock the entire blog article only after following the official account, so as to achieve the purpose of diverting blog traffic to the official account fans of Wechat.

? Home page effect

Usage Step # 1-Update _ config.yml configuration file

In the _ config.yml configuration file, configure the readmore plug-in for more information. For more information, please see [OpenWrite Wechat growth artifact "ReadMore"] (https://openwrite.cn/openwrite/openwrite-readmore/ "OpenWrite Wechat growth artifact" ReadMore "introduction").

Plugins: readmore: blogId: 15702-1569305559839-744name: snow Dream Technical Post Station qrcode: https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg keyword: vip

Note: after going to the OpenWrite backend to apply for the readmore function, be sure to replace it with your own relevant configuration! Note: after going to the OpenWrite backend to apply for the readmore function, be sure to replace it with your own relevant configuration!

The meaning of configuration parameters is as follows:

BlogId: [required] the unique logo of the blog applied for by OpenWrite backend, for example: 15702-1569305559839-744

Name: [required] the name of the blog applied by OpenWrite backend, such as Snow Dream Technology Post

Qrcode: [required] the official account QR code of Wechat applied by OpenWrite backend, for example: https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg

Keyword: [required] Wechat official account reply keyword applied by OpenWrite backend, for example: vip

Step # 2-run hexo related commands

Run the npm install command to install to the local project

$npm install hexo-plugin-readmore-save

Run the hexo generate command to build the local project or hexo server to start the local service.

$hexo generate

Or

Will hexo server be helpful to you after reading the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Public backend configuration blog command plug-in profile run integrate function technology effect file article more artifact project post growth help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Apple NVidia Linux MySQL