0.1.0 • Published 7 years ago
hexo-zeronet-comments v0.1.0
hexo-zeronet-comments
A hexo plugin that add the comment feature for zeronet.
DEMO
Installation
$ npm install hexo-zeronet-comments --save
Usage
1. Edit your theme
Add the following zeronet_comments_html()
and zeronet_comments()
helper tag in template file for article.
<% if (!index && post.comments){ %>
<%- zeronet_comments_html() %>
<%- zeronet_comments(post.path) %>
<% } %>
2. generating files
$ hexo clean
$ hexo server
License
GNU
Thanks
0.1.0
7 years ago