30 lines
839 B
Markdown
30 lines
839 B
Markdown
|
|
# Level Four
|
|||
|
|
|
|||
|
|
Four levels deep: `/examples/nested/level-two/level-three/level-four/`
|
|||
|
|
|
|||
|
|
## How Deep Can You Go?
|
|||
|
|
|
|||
|
|
As deep as your filesystem allows. Each folder can contain:
|
|||
|
|
|
|||
|
|
- Content files (`.md`, `.html`, `.php`)
|
|||
|
|
- Subdirectories (which become sub-URLs)
|
|||
|
|
- Assets (images, PDFs, etc.)
|
|||
|
|
- A `metadata.ini` file
|
|||
|
|
- A `styles.css` file for page-specific styles
|
|||
|
|
|
|||
|
|
## Navigation
|
|||
|
|
|
|||
|
|
There's no automatic breadcrumb generation in the default theme, but you can add it in a custom template by parsing the URL path.
|
|||
|
|
|
|||
|
|
## Use Cases
|
|||
|
|
|
|||
|
|
**Documentation sites** – Organize by category/subcategory/topic
|
|||
|
|
|
|||
|
|
**Photo galleries** – Year/month/album/photo
|
|||
|
|
|
|||
|
|
**Course content** – Course/module/lesson/exercise
|
|||
|
|
|
|||
|
|
**Product catalogs** – Category/subcategory/product
|
|||
|
|
|
|||
|
|
The simplicity of file-based routing means your content organization is transparent and portable.
|