Add a collection page

Published on

Choose a tag for your collection

Choose a tag for your collection. It will become the <COLLECTION_NAME>. You can use an existing tag or create a new one.

Tag content

Make sure all posts / articles / docs that will be part of the collection are tagged with the chosen tag.

tags: ["<COLLECTION_NAME>"]

Create collection landing page

Create a new page in the site/en directory:

├── site
│ ├── en
│ │ ├── <COLLECTION_NAME>
│ │ │ └── index.md

Configure the page

Add the following frontmatter to the index.md file:

---
title: '<COLLECTION_NAME_OR_CUSTOM_TITLE>'
description: '<COLLECTION_DESCRIPTION>'
layout: 'layouts/collection-landing.njk'
collection_tag: '<COLLECTION_NAME>'
---

You can leave the content of the index.md empty, or add custom markup as needed.

Content supports markdown syntax with some additional features and shortcodes. See the components guide for a full list of supported elements.

We use an image CDN and GCS bucket to ensure that images and videos are served in a performant, responsive manner. Take a look at the guide on uploading media to learn how to add images and videos to your docs.

Published on Improve article

This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.