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

首页的sidebar没办法取消 #422

Open
baelow opened this issue Mar 29, 2023 · 1 comment
Open

首页的sidebar没办法取消 #422

baelow opened this issue Mar 29, 2023 · 1 comment

Comments

@baelow
Copy link

baelow commented Mar 29, 2023

当我在config.js中设置sidebar为自定义内容是,首页的sidebar使用yaml也无法取消显示:
自定义sidebar内容

    themeConfig: {
        logo: '/logo.png',  /*  导航栏logo  */
        // displayAllHeaders: true,
        sidebar: [
            {
                title: '说明文档',
                children: ['qu/', 'qu/phjky', 'qu/Fjhko', 'qu/Ajhkp'],
                initialOpenGroupIndex: 1 // 可选的, 默认值是 0
            }
        ],

yaml

---
Sidebar: false (尝试过不管用)
或
sidebar: false (尝试过不管用)
---
@wuhou123
Copy link

wuhou123 commented Mar 29, 2023 via email

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