A hexo helper plugin to help you pin your post on the top of the post list.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
index.js
package.json

README.md

hexo-helper-post-top

A hexo helper plugin to help you pin your post on the top of the post list.

Use if(hasposttop(page.posts)==true) to show you if user want to pin some post.
Use getposttop(page.posts).each(function(toppost){}) to create post list.