hexo之文章置頂功能

修改Hexo文件夾下的node node_modules/hexo-generator-index/lib/generator.jsweb 須要添加的代碼:bash posts.data = posts.data.sort(function(a, b) { if(a.top && b.top) { if(a.top == b.top) return b.date -
相關文章
相關標籤/搜索