Out-of-number! Solve the Problem of github + hexo + yilia comment plug-in !!!, Githubhexo

Source: Internet
Author: User
Tags disqus

Out-of-number! Solve the Problem of github + hexo + yilia comment plug-in !!!, Githubhexo

First wave! My website -- http://www.wenzheng.club/

Ps: the effect is good. QQ logon, emoticons, and gif animated comments are supported!

Plug-ins use Korean servers to force comments plug-ins-https://livere.com/

 

The computer effect is as follows: 2018-02-022:05:56

Below is the mobile phone end

 

 

 

I believe that those who have read this post will be very interested in this topic.

In the Yilia topic of the Hexo blog, the comment system only provides changyan, Netease cloud posts, comments, and Disqus.

However, I have already withdrawn from the rivers and lakes, and Netease cloud won't be able to follow the posts. Disqus, not to mention, cannot even access websites. Isn't it even more embarrassing?

However, the author of Yilia left us with an open-source interface that allows us to add other plug-ins!

Some old brother also innovatively added the Youyan comment plug-in. If you want to give it a try, you can see the following link in the workshop! However, I did not succeed, or even succeeded locally, let alone uploading to Github.

I have referenced this post http://blog.csdn.net/destinytaoer/article/details/78400021

Let's get started!

I. registered account, although livere is a plug-in South Korea, but also support QQ mail login registration, very convenient, Web site -- https://livere.com/

The process is as follows:

 

Ii. Copy all the obtained code

3. Local Configuration:

Paste the copied code in it.

Very important! This is the following step!

Modify hexo \ themes \ yilia \ layout \ _ partial \ article. ejs and find <% if (! Index & post. comments) {%> 12 Add the following code below: <% if (theme. livere) {%> <%-partial ('Post/livere', {key: post. slug, title: post. title, url: config. url + url_for (post. path)}) %> <%} %>

 

Finally, put the plug-in on the home page and load the plug-in as follows:

Open the setting item of your topic: _ config. yml (note that it is not hexo's _ config. yml, but _ config. yml in the yilia folder)

Paste the id!

 

4. Upload the last step to github!

 

My website -- http://www.wenzheng.club/(the previous section was just built and not sorted out) my blog garden -- http://www.cnblogs.com/pengwenzheng/

Wish you success!

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.