Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexo文章置顶功能 | vanishke个人技术博客 #38

Open
vanishke opened this issue Jan 14, 2021 · 1 comment
Open

hexo文章置顶功能 | vanishke个人技术博客 #38

vanishke opened this issue Jan 14, 2021 · 1 comment

Comments

@vanishke
Copy link
Owner

https://hexo-sigma-eight.vercel.app/hexo/blogs/hexo%E6%96%87%E7%AB%A0%E7%BD%AE%E9%A1%B6%E5%8A%9F%E8%83%BD/

移除默认安装的插件npm uninstall hexo-generator-index --save 安装新插件npm install hexo-generator-index-pin-top --save 置顶操作文章开头分割部分添加 top: true 多篇文章置顶,控制顺序,数值较大的排在前面 top:n 设置置顶图标打开 /themes/next/layout/_macro/post

@stevenjoezhang
Copy link

Hexo 已实现文章置顶参数: hexojs/hexo-generator-index#51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants