Update subpages.md

This commit is contained in:
Robert Wallach
2018-03-23 15:04:23 -05:00
committed by GitHub
parent 3ebb2283fc
commit a463646102

View File

@@ -1,9 +1,9 @@
# Subpages
![](../../assets/gifs/create-subpages.gif)
![Create Subpage](https://github.com/stoplightio/docs/blob/develop/assets/gifs/hubs-create-subpage.gif?raw=true)
## What
Subpages are the second tier macro building blocks of Hubs. They function as a canvas for blocks. They are commonly used to house content based on a specific topic. Subpages can have more subpages nested underneath them, which gives you lots of flexibility to organize your Hub as you see fit. If a subpage has subpages nested inside of it, it will be displayed as a collapsible group in the left sidebar.
Subpages are the second tier macro building blocks of Hubs. They function as a canvas for blocks and the backbone of navigation. They are commonly used to house content based on a specific topic. Subpages can have more subpages nested underneath them, which gives you lots of flexibility to organize your Hub as you see fit. If a subpage has subpages nested inside of it, it will be displayed as a collapsible group (if it contains content) or a header (if it does not contain content) in the left navigational sidebar.
>Subpages populate the navigational sidebar of a page.
@@ -11,7 +11,6 @@ Subpages are the second tier macro building blocks of Hubs. They function as a c
- Pages
- Subpages
- Blocks
- Header and Footer
- Blocks
## How
@@ -19,12 +18,11 @@ Subpages are the second tier macro building blocks of Hubs. They function as a c
### Create a New Subpage
1. Select the Hub you wish to modify
2. Click on **Toggle Editor**
3. Select **+ Subpage** in the editor toolbar
2. Select the **design** view
3. Hover over **+ Add** and select **Subpage**
1. Input a **Subpage Name**
2. Modify the **Subpage Route** (optional)
3. Give the Subpage a **Sidebar Token** (optional)
4. **Power the Subpage** with an External Data Source (optional)
3. **Power the Subpage** with an External Data Source (optional)
>Just like pages, subpages can have blocks. Any blocks added to a subpage will be displayed when a reader navigates to that subpage in your Hub
@@ -32,6 +30,6 @@ Subpages are the second tier macro building blocks of Hubs. They function as a c
---
**Related Articles**
- [Routing](/documentation/getting-started/routing)
- [Headers & Footers](/documentation/getting-started/header-footer)
- [Headers](/documentation/getting-started/header-footer)
- [Pages](/documentation/getting-started/pages)
- [Publishing](/documentation/publishing)