hexo-encrypt
hexo-encrypt copied to clipboard
Next主题与encrypt插件兼容性问题
使用hexo-encrypt插件加密文章后,Next主题侧栏文章的目录不显示。
原本应该是这个样子:
加密后是这样的:
Next版本:5.1.3 Next Schemes:Gemini | 右边框
Have a look at https://github.com/MikeCoder/hexo-blog-encrypt This works properly.
However,it doesn't work properly either.
Now this plugin supports TOC encrypt. See https://mhexo.github.io/example-site/2016/10/26/HexoBlogEncrpyt/
@BillYang2016
@xiazeyu which version of NexT and blog-encrypt do you use?
哇你是住在GitHub了吗~秒回??? I use [email protected].. Next版本忘掉了 https://xiazeyu.github.io/ ..才发现我博客不知道为什么没有TOC..
@xiazeyu 邮件提醒。。 Hovever, For NexT 5.1.4 and NexT 6.x.x , the plugin can't process properly again.
https://github.com/MikeCoder/hexo-blog-encrypt/blob/master/lib/mcommon.js#L18:L20
@xiazeyu I don't know what you mean?
Do you mean this issue,It can't work on new version NexT.
I don' t know whether it can work on the latest version of NexT because I havn't upgrade my blog for a long time. I mean that it can work on a version of NexT.
The code to achieve it is: https://github.com/MikeCoder/hexo-blog-encrypt/blob/master/ReadMe.zh.md#%E5%AF%B9-toc-%E8%BF%9B%E8%A1%8C%E5%8A%A0%E5%AF%86 and https://github.com/MikeCoder/hexo-blog-encrypt/blob/master/lib/mcommon.js#L18:L20
You can imitate it to have a try.
But it seems that you may have a huge refactor on it.
@xiazeyu I will try,thank you anyway.
I had tried MikeCoder/hexo-blog-encrypt#16 and It seems not work for me . Do you find any solutions for this ? @BillYang2016
There is anthor issue: site-overview-wrap on sidebar will not show when I click its button on the menu . 侧边框,点击站点概览按钮,站点概览的section没有出现(section 标签没有side-panel-show样式,style属性也没有值)
@Yalhu Not yet.But @MikeCoder & @xiazeyu are working on it.