-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
写的 <%- is_home() %> 在首页(index) 返回 false ??? #3738
Comments
我找到问题原因了,是因为 |
其实这并不是 |
Duplicate of #3483 |
请问下为什么 |
可以这样理解:执行 |
@stevenjoezhang 非常感谢! |
这个选项确实还不够智能(可能就是这么设计的?)毕竟如果能够根据页面类型进行缓存,就可以避免你说的这个问题。 |
@ppoffice has implement a smart The side-effect is huge memory usage since all partials will be cached in memory. |
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@SukkaW The
|
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm closing this issue. Please join the discussion in #2451 |
写
<%- is_home() %>
在http://localhost:4000/
返回 true ,然后生成($ hexo g
)文件中的 index.html 中,则显示 false ???在
$ hexo g
之前已经多次执行$ hexo clean
The text was updated successfully, but these errors were encountered: