Hexo
1. Enable Gitalk
I use the Next theme of hexo.
Modify the _config.yml of next.
Use gitalk as the comment system.
1  | comments:  | 
Enable gitalk.
1  | # Gitalk  | 
client_id/secret is your id/secret of OAuth Apps in your github.
A GitHub OAuth App is an application that acts on behalf of the authorizing user. It only has access to the user’s resources. Removing a user from a repository will remove the application access.
repo is your github repo name which is used to store the comment data. So you
should create a github repo at first. In my examples it is name with
hexo_comment. issues should be enabled for hexo_comment.
If your blog is hosted by github. You can just use your blog repo as the repo to store the comment data.
distraction_free_mode should be set into false. When set into true, the
other part of your blog will get black when one write his comment.
2. Baidu/Google Search
Two steps are needed.
- Add the site to baidu/google, which need a file verifying.
 - Add the sitemap to baidu/google.
 
To add the sitemap file.
1  | # add the sitemap plugin which will create sitemap.xml or baidusitemap.xml when hexo d is ran  | 
then change the _config.yml. This is the Configuration of hexo-abbrlink.
1  | permalink: :year/:month:abbrlink.html  |