# Page

The Page preset simplifies the setup for standard pages with form fields, optional subpages and files.

****

- Read more: <https://getkirby.com/docs/guide/blueprints/presets#available-presets__single-page-page>

****

<warning>
Do not use presets for new projects. Presets will be deprecated in future versions of Kirby.
</warning>

## Basic setup

This allows you to create a very basic blueprint like this:

```yaml
title: Page preset example
preset: page
```

This simple blueprint creates an empty main section and a sidebar with a files and a pages section.

<figure class="image"><a data-lightbox href="https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/ceafcca5ba-1717846665/page-empty.png?width=2560&amp;height=1298&amp;enlarge=0"><img alt="" class="rounded" height="468" loading="lazy" sizes="auto" src="https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/ceafcca5ba-1717846665/page-empty.png?width=924&amp;height=468&amp;enlarge=0" srcset="https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/ceafcca5ba-1717846665/page-empty.png?width=462&amp;height=234&amp;enlarge=0 462w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/ceafcca5ba-1717846665/page-empty.png?width=690&amp;height=350&amp;enlarge=0 690w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/ceafcca5ba-1717846665/page-empty.png?width=924&amp;height=468&amp;enlarge=0 924w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/ceafcca5ba-1717846665/page-empty.png?width=1380&amp;height=700&amp;enlarge=0 1380w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/ceafcca5ba-1717846665/page-empty.png?width=1848&amp;height=937&amp;enlarge=0 1848w" width="924"></a></figure>

You can now extend this basic preset by adding as many fields as you like:

```yaml
title: Default
preset: page

fields:
  intro:
    type: textarea
    size: small
  text:
    type: textarea
    size: small
```

### Empty
<figure class="image"><a data-lightbox href="https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/27ebfa3630-1717846665/page-setup.png?width=2560&amp;height=1298&amp;enlarge=0"><img alt="" class="rounded" height="468" loading="lazy" sizes="auto" src="https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/27ebfa3630-1717846665/page-setup.png?width=924&amp;height=468&amp;enlarge=0" srcset="https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/27ebfa3630-1717846665/page-setup.png?width=462&amp;height=234&amp;enlarge=0 462w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/27ebfa3630-1717846665/page-setup.png?width=690&amp;height=350&amp;enlarge=0 690w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/27ebfa3630-1717846665/page-setup.png?width=924&amp;height=468&amp;enlarge=0 924w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/27ebfa3630-1717846665/page-setup.png?width=1380&amp;height=700&amp;enlarge=0 1380w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/27ebfa3630-1717846665/page-setup.png?width=1848&amp;height=937&amp;enlarge=0 1848w" width="924"></a></figure>

### Filled
<figure class="image"><a data-lightbox href="https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/893894bcff-1717846665/page-filled.png?width=2560&amp;height=1298&amp;enlarge=0"><img alt="" class="rounded" height="468" loading="lazy" sizes="auto" src="https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/893894bcff-1717846665/page-filled.png?width=924&amp;height=468&amp;enlarge=0" srcset="https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/893894bcff-1717846665/page-filled.png?width=462&amp;height=234&amp;enlarge=0 462w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/893894bcff-1717846665/page-filled.png?width=690&amp;height=350&amp;enlarge=0 690w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/893894bcff-1717846665/page-filled.png?width=924&amp;height=468&amp;enlarge=0 924w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/893894bcff-1717846665/page-filled.png?width=1380&amp;height=700&amp;enlarge=0 1380w, https://assets.getkirby.com/media/pages/docs/reference/panel/presets/page/893894bcff-1717846665/page-filled.png?width=1848&amp;height=937&amp;enlarge=0 1848w" width="924"></a></figure>

And you can of course extend this basic setup in many ways.

## No files or pages section

If you don't want a files or pages section, set either option to false in the page options:

No pages section:

```yaml
pages: false
```

No files section:

```yaml
files: false
```

## Extend files/pages sections

You can extend the pages and files sections with the options available for <a href="https://getkirby.com/docs/reference/panel/sections/pages#section-properties">pages sections</a> and <a href="https://getkirby.com/docs/reference/panel/sections/files#section-properties">files sections</a>.

### Pages section

```yaml
pages:
  template: default
  max: 10
  min: 1
```

### Files section

```yaml
files:
  template: image
  min: 4
  max: 8
```

## Overwrite the sidebar

You can also overwrite the sidebar column:

```yaml
#  Only an image section
sidebar:
  images:
    extends: sections/images
```
<info>
In this example, we extend an existing files section which we have defined in `/site/blueprints/sections/images.yml`. Instead of extending a existing files section, you can also define a complete <a href="https://getkirby.com/docs/guide/blueprints/layout">files section</a> here.
</info>

```yaml
# Image section and additional fields
sidebar:
  meta:
    type: fields
    fields:
      date:
        type: date
        time: true
        default: now
      author:
        type: users
      tags:
        type: tags
        options: query
        query:
          fetch: site.tags.toStructure.sortBy("name", "asc")
          text: "{{ structureItem.name }}"
          value: "{{ structureItem.value }}"
  images:
    extends: sections/images
```

<info>
The main column can only take fields, the sidebar can have multiple sections of different types. Completely custom layouts are possible with layout blueprints.
</info>