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
chore: 自动解析TOC #27
Comments
6.x版本的next主题里面这个issue的方法貌似已经失效了,scheme中的Mist、Gemini均无法起作用,同求最新的解决方法。 |
@MikeCoder 我这边用的的next6.0.4,也和楼上一样出现问题,求解决办法 |
是的,5.1.4与6.0.x版本的NexT主题#16的方法失效。 |
|
所以呢,你们有解决办法了? |
@wuhang2003 |
@wuhang2003 |
OK,等你的好消息 |
@xiazeyu 有结果了吗? |
关键是在什么时候加密
注1:如果要防止TOC泄密需要单独对TOC进行加密,那么就需要对主题进行单独适配 |
那么需要确定2个方向: 目前针对Searchdb泄密我有个想法,就是把加密内容都丢到的data中,这样searchdb就不会解析 |
Sidebar中有关TOC的代码只有15-24行 |
@xiazeyu 问一下如果是使用其他搜索服务的会泄露文章么?比如algolia |
你可以试试= = |
额,我等你完成代码再说 |
@wuhang2003 next 6.0 的 toc 问题可以把
效果见:https://mhexo.github.io/example-site/2016/10/26/HexoBlogEncrpyt/ |
不过,目前只是把 toc 的内容隐藏了,如果 toc 泄密,那就很尴尬了。
|
@MikeCoder 话说还是不知道 |
恩,toc-div 这个 id 还是要是改个模板(谁让 hexo 主题没有一个统一的规范- -)。 |
@MikeCoder |
恩 |
Hi, |
Next主题边框经过加密后未正常显示。
hexo-encrypt插件存在相同问题。
经过测试,左/右边框均无法正常显示。
Expected Behavior
正常情况时,文章边框
应该随着滚轮滚动并显示文章目录与站点概览。
Actual Behavior
实际情况,并没有正常显示
Steps to Reproduce the Problem
Specifications
(The version of the project, operating system, hardware etc.)
Next主题:v5.1.4
hexo-blog-encrypt:v2.0.3
另:hexo-fs弃用提示
DeprecationWarning: fs.SyncWriteStream is deprecated.
仍存在。The text was updated successfully, but these errors were encountered: