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

将首页修改为 POST 之后移动端“盒子”不显示 #150

Open
Febers opened this issue Jun 3, 2019 · 1 comment
Open

将首页修改为 POST 之后移动端“盒子”不显示 #150

Febers opened this issue Jun 3, 2019 · 1 comment

Comments

@Febers
Copy link

Febers commented Jun 3, 2019

将博客首页改成 POST 之后,进入博客首页即为文章列表,但是“盒子”不显示,需要点击进入文章页面才能看到左下角的“盒子”按钮

猜测默认逻辑是:“盒子”在第一层级“首页”不显示,点击进入第二层级才会显示。所以会造成以上的问题。没有找到这一逻辑对应的代码,无法解决这一问题,麻烦告知,谢谢。

@DamonHu
Copy link

DamonHu commented Apr 8, 2021

找到fexo>layout>layout.ejs文件,修改第四行

<% if(theme.toolbox && theme.toolbox.isShow == true && page.base !== '') { %> 

修改成

<% if(theme.toolbox && theme.toolbox.isShow == true) { %>

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