In version 7.0, index pages arrange images and content from different pages into unique layouts, creating a single destination where visitors can browse content from multiple sub-pages.
Index pages are available in certain templates.
This guide is for version 7.0. In version 7.1, you can use page sections for an effect similar to stacked index page layouts, or portfolio pages for an effect to grid index page layouts.
Watch a video
To see how the index page works, watch this video:
Index page designs
Each template family has its own index style that falls into one of three designs:
- Grid - Each page in the index creates an image on the page. Clicking an image opens the connected page. This design forms a visual navigation grid linking to content throughout your site. Here's an example.
- Stacked - Each page in the index creates a section in a single scrolling page. The sections stack vertically, allowing visitors to scroll through a lot of information, all with a unified look. Think of it as a digital version of an accordion-folded pamphlet that you can open and see all the pages at once. Here's an example.
- Slideshow - Each page displays as a full-bleed background image with a content overlay. Clicking a page title opens the connected page. This is a great way to use images to introduce different concepts or portfolios. Here's an example.
Additionally, the index page's link in your navigation depends on the template. To create a drop-down menu of pages in your navigation in any template, create a folder instead. To learn more, visit Folders vs. index pages in version 7.0.
Index page feature comparison
Here's how indexes display in these template families. If your template isn't listed, it doesn't have an index page.
Template family | Style | Featured images | Supported Pages |
Avenue | Grid | Required | Album, blog, gallery, events, products, layout |
Bedford |
Stacked | Optional | Layout |
Brine |
Stacked | Optional | Gallery, layout |
Flatiron | Grid | Required | Album, blog, gallery, events, products, layout |
Forte | Slideshow | Required | Album, blog, gallery, events, products, layout |
Momentum | Slideshow | Optional | Gallery |
Montauk |
Grid | Required | Album, blog, gallery, events, products, layout |
Pacific |
Stacked | Optional | Album, gallery, layout |
Supply | Grid | Required | Album, blog, gallery, events, products, layout |
Tremont |
Slideshow | Optional | Album, blog, gallery, events, products, layout |
York |
Grid | Optional | Album, blog, gallery, events, products, projects, layout |
To set up your index page, follow the rest of this guide.
Add an index page
If your template supports an index page, follow these steps:
In the Squarespace App, adding new pages is only possible in the iOS version.
- Open the Pages panel, then click the + icon.
- Select Index from the pages menu.
- Enter a page title, then press Enter to save. You can change this later.
Edit page settings
You can change the index page's settings, such as its title and URL slug. In some templates, the title, description, and featured image display at the top of the page.
To edit the index page's settings:
- In the Pages panel, hover over the index.
- Click
.
- After making changes, click Save.
To learn more about the different options, visit Page settings.
Add, edit, and arrange pages
Next, you'll build the content of the index by adding, editing, and arranging pages. Each page creates a section of the index.
Tip: You can add up to 100 pages to index pages, but we don't recommend adding more than 25. The more content you add, the longer the page will take to load.
Add pages
To add pages to an index:
- In the Pages panel, click Add page below the index page. Depending on your template, you may see Add section, Add gallery or page, or Add project instead.
- Click any icon from the pages menu to add new pages. The menu shows the pages your template's index supports. For example, Momentum's index page only supports gallery pages. layout pages are called Content sections.
Other methods
- You can drag and drop existing pages into the index.
- In stacked indexes, you can add sections using Manage sections.
Note: You can disable pages in the index. These won't display on your site. They will count toward the index page's 100 page limit.
Build pages
You can add content to any layout page or collection page within an index by clicking Edit on the page. For stacked index pages, click the title in the Pages panel to scroll to that section in the page preview.
- Custom code added to pages within an index may not render on your live site. To test your code, remove the page from its index, then view the page directly in a private or incognito window.
- If you don't see an edit annotation for a stacked index, move the page out of the index to add content, then move it back into the index. You can also disable the page, add content to it, then re-enable it.
Reorder pages
The page order in the Pages panel reflects how they display in the index page. Drag and drop pages to rearrange their order.
Tip: For stacked indexes, see additional tips.
Review password-protected pages
You can password-protect the main index in its page settings.
- In stacked Indexes, this password will also protect sub-pages.
- In grid and slideshow Indexes, add passwords to the individual sub-pages to protect them.
To learn more, see Passwords and index pages.
Add pages
To add pages to an index in the iOS version of the Squarespace app:
- Tap the Pages icon.
- Tap Add below the index page.
- Tap the page type you want to add.
- Click into the Page title field and add a page title.
- Tap Create.
Build the pages
To edit pages within your index page:
- Tap the title of the page in the Pages tab.
- Tap Edit or the pencil icon beside the page title on the overlay.
- After adding or changing content, tap Done or the ✓, then tap Save changes to confirm.
Reorder the pages
The page order in the Pages panel reflects how they display on the index page. To reorder the pages:
- Tap Edit or the pencil icon in the top-right corner of the Pages tab.
- Tap and hold the hamburger icons to the right of the page titles, then drag the pages up or down.
- Tap Done.
Review password-protected pages
To password-protect an index page:
- Tap the title of the index page in the Pages tab.
- Tap the ... icon or
in the top-right corner.
- Tap into the Password field, then enter the password you want to use.
- Tap Save.
Depending on the type of index page, you may need to add page passwords to individual sub-pages:
- In stacked indexes, this password will protect sub-pages as well.
- In grid and slideshow indexes, add passwords to the individual sub-pages to protect them.
Add page featured images
You can add featured images to every page or section in the index. Depending on your template's index style, the image may become a navigation image, a banner, or a background image.
In some templates, you can add a featured video. Grid index pages don't support videos as featured images, so use images instead.
To add index page featured images:
- In the Pages panel, hover over the title of a page or section within your index.
- Click
.
- Click the Media tab.
- Add a featured image.
Repeat this process for every page within your index.
To add index page featured images:
- In the Pages tab, tap the title of a page within your index.
- Tap the ... icon or
on the overlay next to the page title to open the individual page's settings. (Tip: Don't tap the ... icon in the top-right corner because it opens the entire index page's settings.)
- Under Options, tap Media.
- Tap Add image to add a featured image from your device.
- After the image uploads, tap Page settings to go back, then tap Save.
Repeat this process for every page within your index.
Style the index page
Your template determines the index's style: grid, stacked, or slideshow. In the site styles panel, you'll find tweaks to help you customize how the index looks.
Grid
You can change the number or shape of the featured images, their padding, and how the page titles display. Options vary by template. Use the links below for help with these template families:
Stacked
You can change fonts, navigation elements, and how page content displays. Options vary by template. Use the links below for help with these template families:
Tip: See our additional tips for managing sections.
Slideshow
You can style page names and choose how visitors click through to a connected page. Options vary by template. Use the links below for help with these template families:
Managing stacked index sections
In Stacked index pages, you can move, add, and delete sections using Manage sections in the Pages panel.
To open Manage Sections:
- Open the Pages panel.
- Click the index page.
- Hover over the top of the site preview and click Manage sections.
You'll see a zoomed-out version of your index, which you can use to more easily scroll through sections.
- Click and drag any section to rearrange it.
- Use the + and - icons to add or remove sections.
- To return to the Pages panel, click Back in the top-left corner.
Display other content
To display content from an unsupported page type within an index, add a layout page to the index. Then use the following methods to display the content on that layout page:
- Blog posts - Add a summary block and connect it to a blog page.
- Products - Add a summary block and connect it to a products page. You can also add individual products with Product Blocks.
- Gallery images - Add a gallery block. You can connect it to an existing gallery page or add images to it directly. You can also add individual image blocks.
- Events - Add calendar blocks and connect it to an events page.
- Album tracks - Add audio blocks and add tracks to them directly.
You can also use archive blocks to create lists of blog posts, gallery images, products, and events.
Tip: Move collection pages (such as a blog page) to the not linked section so they don't show in your navigation.
Momentum
The Momentum template only supports gallery pages. To link to other content on your site, add a link to the description of any gallery image, or add pages to your main navigation so the links show in the navigation bar.
Special URLs
In the templates listed below, gallery and layout page sub-page URLs include a hashtag (#) when they're opened from the index page. Here's an example:
http://www.mydomain.com/#/page-title
The hashtag version of the page has special formatting in these template families:
- Avenue - Uses navigation images and Prev / Next links. Page headers and footers don't display. gallery page images stack vertically.
- Flatiron - Uses navigation images and arrows. Layout pages display page titles and descriptions.
- Montauk - Uses image navigation. Layout page banners don't display; instead, they show the index page banner.
The version of the page with special formatting doesn't appear if there's no hashtag. This happens when:
- A visitor goes to the sub-page's direct URL (with no hashtag).
- The sub-page has a password.
- The visitor opens the sub-page in a new tab or window.
Search engines don't index the hashtag version of the URL. This stops them from seeing duplicate content for your website, which is an SEO best practice. Visitors who go to sub-pages from search engine results see the version without special formatting. To prevent these pages from appearing in search, add a noindex tag to each sub-page.
Passwords and index pages
You can use page passwords to prevent index content from being publicly visible.
Password-protect any main index page in its page settings.
How you password-protect sub-pages depends on the index style:
- For grid and slideshow indexes, add a password directly to each sub-page.
- For stacked indexes, the main index page's password protects the sub-pages.
For password-protected sub-pages in grid and slideshow indexes:
- The sub-page's featured image displays normally in the main index page.
- When a visitor clicks that image, or goes to the direct URL, they'll be prompted to enter the page password.
- Special formatting won't display for the Avenue, Flatiron, or Montauk families.
For password-protected stacked indexes:
- If a visitor goes to the direct URL for a sub-page, they'll be prompted to enter the page password for the main index page.
- In the Pages panel, the password field is hidden for sub-pages. Drag the page out of the index to set a password. After you've added a password to a page, you can't drag it into an index.
Note: In the past, you could add passwords to sub-pages in a stacked index. If your sub-page already has a password:
- The page's featured image and content appears in the index.
- The login prompt won't appear unless the visitor goes to the direct page URL.
- If you delete the password, the password field will disappear.
- If you drag the page out of the index, you won't be able to drag it back in until you remove the password.
SEO and social sharing
Because indexes are collections of pages, search engines and social media sites interact with them differently than other pages in Squarespace. To learn more, visit Index page SEO and social sharing in version 7.0.
Replicate an index in other templates
If your template doesn't support an index page or the index page style you like, there are ways to recreate the look of an index on any template:
- Grid - On a layout page, create a grid of images with clickthrough links.
- Stacked - Add images and text to a layout page.
- Slideshow - Add a cover page and include multiple images in the Media tab.