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

[Question: 2] 为什么置顶功能失效? #3

Open
dlzmoe opened this issue Jan 9, 2021 · 1 comment
Open

[Question: 2] 为什么置顶功能失效? #3

dlzmoe opened this issue Jan 9, 2021 · 1 comment

Comments

@dlzmoe
Copy link
Owner

dlzmoe commented Jan 9, 2021

问:为什么置顶功能失效?

答:请确认安装完插件确实失效。

解决办法:在 node_moudles 目录下找到 hexo-generator-index-pin-top 或者 hexo-generator-index 文件然后手动删除,重新执行下列命令

# 依次执行,不要同时输入两个命令去执行
npm uninstall hexo-generator-index --save
npm install hexo-generator-index-pin-top --save

ps:如果在置顶方面遇到其他相关问题,可以在本条 Issues 留言或者到我的博客留言

@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