Commit 8141b5d0 authored by liziwl's avatar liziwl
Browse files

update sidebar

parent c93643af
Loading
Loading
Loading
Loading
+33 −19
Original line number Diff line number Diff line
@@ -54,12 +54,27 @@ module.exports = {
    repoLabel: '在Github上查看',
    editLinks: true,
    sidebarDepth: 2,
    sidebar: {
      '/': [
        '',     /* /foo/ */
    sidebar: [
      '/',
      '/facility/',
      '/contact/',
        '/calendar/',
      {
        title: '📅校历',   // 必要的
        // path: '/calendar/',      // 可选的, 标题的跳转链接,应为绝对路径且必须存在
        collapsable: false, // 可选的, 默认值是 true,
        sidebarDepth: 1,    // 可选的, 默认值是 1
        children: [
          ['/calendar/', '2019-2020 学年'],
          {
            title: '历史校历(存档)',
            children: [
              ['/calendar/2020-2021.md', '2020-2021 学年'],
              ['/calendar/2019-2020.md', '2019-2020 学年'],
              ['/calendar/2018-2019.md', '2018-2019 学年'],
            ]
          }
        ],
      },
      '/service/',
      '/study/',
      '/network/',
@@ -67,7 +82,6 @@ module.exports = {
      '/catering/',
      '/transport/',
      '/surroundings/',
      ],
    }
    ]
  }
}