# Creating a single child page: Pages section or Pages field?

**URL:** <https://forum.getkirby.com/t/creating-a-single-child-page-pages-section-or-pages-field/28149>\
**Category:** Questions\
**Tags:** v3\
**Created:** [March 20, 2023, 1:20pm UTC](https://forum.getkirby.com/t/creating-a-single-child-page-pages-section-or-pages-field/28149 "2023-03-20T13:20:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fvsch](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/fvsch/32/15908_2.png) [@fvsch](https://forum.getkirby.com/u/fvsch)\
**Post date:** [March 25, 2023, 11:56am UTC](https://forum.getkirby.com/t/creating-a-single-child-page-pages-section-or-pages-field/28149/2 "2023-03-25T11:56:00Z")

</div>

I found an answer in this topic: [Is it possible to nest a column within a column? - #2 by texnixe](https://forum.getkirby.com/t/is-it-possible-to-nest-a-column-within-a-column/24907/2)

It _is_ possible to have sections in a column. My mistake was doing something like this:

```yaml
columns:
  sidebar:
    fields:
      # Config for the fields
      # …
    sections:
      gallery:
        type: pages
        # Config for the pages section
        # …

```

Turns out that when you use a `fields` key in a column, that’s a shortcut for creating a `sections` structure with an entry of type `fields`. When you want to have both fields and non-fields sections in a column, you need to be more explicit and declare everything as sections:

```auto
columns:
  sidebar:
    sections:
      stuff:
        type: fields
        # config for the fields section
        # …
      gallery:
        type: pages
        # config for the pages section
        # …

```

So that makes sense.

If I’m allowed a tiny rant: maybe that’s the programmer in me, and others have different preferences, but I wish Kirby didn’t have so many shortcuts in its Blueprint parsing (like deriving the section type from keys, optional sections key…). Because when the implicit conditions for using a shortcut are not met, then everything breaks and you don’t get an error or any guidance.

---

_[View the full topic](https://forum.getkirby.com/t/creating-a-single-child-page-pages-section-or-pages-field/28149)._
