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

How to config root path in 'Matiple Sidebars' #75

Closed
fengzheqi opened this issue Apr 16, 2018 · 2 comments
Closed

How to config root path in 'Matiple Sidebars' #75

fengzheqi opened this issue Apr 16, 2018 · 2 comments

Comments

@fengzheqi
Copy link

image
In the Matiple Sidebars config, it just tell me how to config the subpath, but what about the root path? I have tried to config like this:

 sidebar: {
      '/': [
         '',
        'one',
        'two'
      ],
      // sidebar for pages under /foo/
      '/foo/': [
        '',
        'one',
        'two'
      ]
    }

but it doesn't work.....

@ulivz
Copy link
Member

ulivz commented Apr 16, 2018

Multiple Sidebars are only working at those pages whose home at frontmatter isn't set to true.

@yyx990803
Copy link
Member

It works as intended as long as you don't have home: 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

3 participants