Add a comment system to your Hexo-valine

Source: Internet
Author: User
Tags disqus
Preface

Simple, convenient, easy-to-use commenting system

Valine

With toss a morning on the pit Experience valine Introduction

Hexo comment System has a lot of, common has the following several say NetEase cloud thread to speak to Will force (livere) Disqus hypercomments valine

First of all, and NetEase cloud has fallen, followed by the need to record, disqus,hypercomments and Livere are foreign, loading speed thief slow, even the possibility of being a wall, after searching for a long time, from material subject to next theme, Finally found a useful comment system, that is valine

I am using the next 5.1.3 version, which is already integrated with valine, so it is normal to follow the official documents to go, 5 minutes to open your comment system ~ Open valine registration Leancloud

Our comment system is actually placed on the Leancloud, so we need to register an account first.

Leancloud official website, click I Register

After registration you need to create an app, name can be random, and then go to application---- settings, Application key

Get your AppID and Appkey as shown in the figure:

After you get your AppID and Appkey, open the theme profile search valine, fill in AppID and Appkey

My configuration:

Valine:
  enable:true
  AppID:  your App ID
  appkey:your app key
  notify:false # Mail notifier, https://g Ithub.com/xcss/valine/wiki
  verify:false # Verification Code
  Placeholder:ヾノ≧∀≦) o Come, Merry! 
  Guest_info:nick,mail,link
  Pagesize:10

At last. Remember to add your domain name to the Web-safe domain name, Security Center, set up, Leancloud

Refresh to see the comment box. Egg End

If you can use it properly, then congratulations to everyone.

If you are having problems, then please continue to look down:

This is a configuration file for version 5.1.3

Valine:
  enable:true
  AppID: 
  appkey: 
  notify:false # mail notifier, https://github.com/xCss/ Valine/wiki
  Verify:false # Verification Code
  

This is the configuration file for version 6.0.1 :

Valine:
  enable:true
  app_id: 
  app_key: 
  notify:false # mail notifier, https://github.com/xCss/Valine/ Wiki
  verify:false # verification Code
  Placeholder:ヾノ≧∀≦) O come on. Merry. ~
  avatar:mm # Gravatar style
  Guest_info:nick,mail,link # custom Comment header
  pagesize:10 # pagination Siz E

See the difference, app_id and app_key the two field names are not the same, if the field name is not correct, then the Valine.min.js file is not loaded, that is, the comment system does not take effect at all. This problem has been tossing the whole morning, and finally contacted the author to solve it.

So, here I'm going to call the author:

Welcome to join Valine Exchange Group: 80972291

Long Night ~ and Water finished a blog post. Description

In fact, my personal blog has submitted a Baidu search resources platform and Google search , but Baidu does not include.

This is the result of Google search my blog:

This is the result of Baidu search my blog:

No comparison will not hurt, but this also shows that csdn in the weight of Baidu is very high, after the personal blog and csdn synchronous article ~ reference

Valine Official documents

Valine Author Blog

Hexo Blog Comments new Artifact--valine/

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.