Friends say, add net is family. Just do each use, UF words instead of disqus comment system, with the network to do share to micro-X function.
Registering and obtaining Code
Friends say, add network is family, as long as the registration of the network on the line. After logging in, there is code in Jiathis to enter and customize, and then get the code, in the friend said to get the code, here to get the code.
Create a new page file that displays comments and shares
Create a new source/_includes/post/share_comment.html and copy the obtained code here.
If you want to show the share button in the sidebar, you need to refer to the custom sidebar, and put the code to add the net.
Configuration Display Start
To add a switch in the _CONFIG.YML:
1 2 |
# jiathiscomment_share: true
|
Add the following code to the source/_includes/post/sharing.html (please consciously remove):
1 2 3 4 |
<!-- JiaThis Button --> \{\% if site.comment_share %} \{\% include post/share_comment.html %} \{\% endif %}
|
The verification of the friend Word net
You can only set it after you have verified the network. When you log in to your friends Web site, you'll see a list of websites that use your friend code. You can see the validation status at status. In the action, click "Validate", select "Upload HTML file" at "Select Authentication Method", then click "Download verification File" To obtain the verification file. Verify that the file is an empty file. Put it in the source directory, do rake deploy operation, you can automatically verify.
After validation, you can set adjustments to the display of comments. <p class= ' post-footer ' > Original link address: http://pangyi.github.io/blog/20150125/ shi-yong-you-yan-zuo-octopressde-ping-lun-xi-tong-,shi-yong-jia-wang-zuo-fen-xiang/
Written by pangyi?posted at http://pangyi.github.io</p>
Use friends to do octopress comment system, use network to do share