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 NexT 主题的支持 #20

Closed
leirock opened this issue Nov 26, 2020 · 7 comments
Closed

希望增加对 Hexo NexT 主题的支持 #20

leirock opened this issue Nov 26, 2020 · 7 comments

Comments

@leirock
Copy link
Contributor

leirock commented Nov 26, 2020

希望可以去给 Hexo NexT 主题提一下 PR,增加该主题对 Waline 的支持,方便小白用户配置使用该评论系统 https://github.com/next-theme/hexo-theme-next

@lizheming
Copy link
Collaborator

theme-next/hexo-theme-next#1582 我这边已经提 PR 了,可能需要等那边合一下

@lizheming
Copy link
Collaborator

感谢 @MHuiG 提醒,才发现提错仓库了 next-theme/hexo-theme-next#147 已经重新提交 PR,等待作者合并 PR 中

@lizheming
Copy link
Collaborator

https://www.npmjs.com/package/@waline/hexo-next 已发布 @waline/hexo-next 插件增加对 hexo NexT 主题的支持。

@leirock
Copy link
Contributor Author

leirock commented Dec 6, 2020

https://www.npmjs.com/package/@waline/hexo-next 已发布 @waline/hexo-next 插件增加对 hexo NexT 主题的支持。

测试了一下,post-meta 会显示浏览数,但是评论数似乎不显示,需要另外设置吗?

@lizheming
Copy link
Collaborator

@lei2rock 插件是对着 valine 的插件改过来的,似乎是本身插件就不支持显示评论数。可能需要后期再优化下哈

@leirock
Copy link
Contributor Author

leirock commented Dec 6, 2020

@lei2rock 插件是对着 valine 的插件改过来的,似乎是本身插件就不支持显示评论数。可能需要后期再优化下哈

嗯,Valine 那个应该也不行,似乎 NexT 显示评论数就是配置文件支持的那几个评论系统,要不然应该需要另外注入post-meta内容(NexT主题好像是有接口提供)

@lizheming
Copy link
Collaborator

@lei2rock 嗯,列到 todo 里之后再完善下~ 谢谢试用反馈~

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

No branches or pull requests

2 participants