Skip to content

加密post显示的目录怎么关,求求求 #3410

Answered by LooseLi
MEIYBAO asked this question in Q&A
Discussion options

You must be logged in to vote

我发现我的加密post,在没输入密码的时候会显示目录,我使用的是hexo主题,求各位大佬给出解决办法

@tangly1024
目前目录默认是直接展示的,代码中并未针对文章是否加密或已解锁进行判断。这种情况在几乎所有主题中都存在,不确定是基于设计需求,还是遗漏了相关的判断逻辑。
如果确认是逻辑上的遗漏,我可以在后续提交 PR 进行修复~

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RylanBot
Comment options

@LooseLi
Comment options

Answer selected by MEIYBAO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants