-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
I agree and want to create new issue
- Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
- Yes, I was on NexT Documentation Site.
- And yes, I already searched for current issues and this is not help to me.
what's the purpuse of post.sticky
According to the source code, post.sticky seems no use, except adding <i class="fa fa-thumb-tack"></i> before title.
How to use
hexo-theme-next/layout/_macro/post.swig
Lines 42 to 47 in 62f69af
| {% if post.sticky > 0 %} | |
| {{ post.sticky }} | |
| <span class="post-sticky-flag" title="{{ __('post.sticky') }}"> | |
| <i class="fa fa-thumb-tack"></i> | |
| </span> | |
| {% endif %} |
- Is
post.stickyan int or string or boolean?
Reactions are currently unavailable
