mrcrmn / docc

A starter documentation theme for Gridsome. Featuring instant search, great navigation and a dark mode!

Home Page:https://docc-theme.netlify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sidebar Single Menu Item

ItsJamesMurray opened this issue · comments

Hiya!

I really love this theme! Is there a way to have a single item in the sidebar menu without having it as a sub-item? Currently, the sidebar has a title and a 'items' section. With only one item under the menu it is taking unneeded real estate.

Currently I have something like:

sidebar: [
  {
    name: 'menu',
    sections: [
      {
        title: 'Single',
        items: ['/page/']
      },
      {
        title: 'Nested',
        items: [
          '/page/one/',
          '/page/two/',
          '/page/three/'
        ]
      },
    ]
   }
]

Best -
James