> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fimo.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Pages

> Describe application routes so editors can find their content in a page-shaped Studio view.

Pages metadata mirrors your application's routes in Studio. It helps editors find the labels, Singles, and collection entries used by a page. It does not create routes or move content.

<Warning>
  Pages is a pre-release Studio feature. It may not be available in your production workspace yet. Collections, Singles,
  and Labels continue to work without it.
</Warning>

## Register a route

Your application owns the route. Add matching metadata with a stable ID:

```bash theme={null}
fimo pages set about --path /about --label About
```

For a dynamic route, bind its URL parameter to a collection:

```bash theme={null}
fimo pages set post \
  --path '/blog/:slug' \
  --params '{"slug":{"schema":"BlogPost","queryField":"slug","displayField":"title"}}'
```

Studio can then show a post selector before opening the page's content.

## Add page sources

Sources tell Studio which editable content belongs in the page workspace:

```bash theme={null}
fimo pages set post \
  --sources '{"copy":{"type":"labels","match":["blog.*"]},"settings":{"type":"single","schema":"BlogSettings"},"posts":{"type":"collection","schema":"BlogPost"}}'
```

The supported source types are `labels`, `single`, and `collection`. Collection entries remain in Collections. Pages only gives editors another way to reach the entries used by a route.

## Review the route list

```bash theme={null}
fimo pages list
fimo pages list --expand
```

Use `--expand` to include parameters and sources. For dependent route parameters, collection queries, rename, clear, and delete commands, see the [CLI reference](/docs/reference/cli).

## What's next

<Columns cols={3}>
  <Card title="Content" icon="database" href="/docs/cli/content">
    Define Singles and collections.
  </Card>

  <Card title="Labels" icon="language" href="/docs/cli/labels">
    Group page interface copy by key.
  </Card>

  <Card title="CMS" icon="table-cells" href="/docs/studio/cms">
    Edit available content in Studio.
  </Card>
</Columns>
