Menu Depth

Deep Depth Folder Structure

userguide
β”œβ”€β”€ Depth - 1
β”‚   β”œβ”€β”€ _index.md
β”‚   β”œβ”€β”€ Depth - 2
β”‚   β”‚   β”œβ”€β”€ _index.md
β”‚   β”‚   β”œβ”€β”€ Depth - 3
β”‚   β”‚   β”‚   β”œβ”€β”€ _index.md
β”‚   β”‚   β”‚   β”œβ”€β”€ menudepth.md

How to make menu collapsible.

As you can see from the folder structure above, every root folders that are collapsible have an _index.md file. In that file, we define the menu to be collapsible. Set collapsible Front-Matter to true if you want a menu to be collapsible.

1
2
3
4
5
6
7
8
---
title: "Depth - 3"
date: 2020-02-28T10:08:56+09:00
description: 
draft: false
weight: 1
collapsible: true
---