Blueprint preset: page can't remove pages

Hello,

According to the docs: Page | Kirby CMS you should be able to remove the pages in the sidebar, but it doesn’t work. what am I doing wrong in my blueprint?


title: subpage
icon: page
preset: page

options:
  preview: true
  changeTemplate: true
  changeTitle: true
  changeStatus: true
  changeSlug: true
  delete: true
  duplicate: true
  files: true
  pages: false

fields:
  color_background:
    alpha: true
    type: colors
    label: Hintergrundfarbe

  color_tiles:
    type: colors
    alpha: true
    label: Hintergrundfarbe Kachel(n)

  color_h1:
    type: colors
    label: Farbe Titel
    alpha: true
    width: 1/3

  color_h2:
    type: colors
    label: Farbe Untertitel
    alpha: true
    width: 1/3

  color_h3:
    type: colors
    label: Farbe Link
    alpha: true
    width: 1/3

  color_text:
    type: colors
    label: Farbe Text
    alpha: true
    width: 1/3

  name:
    label: Titel
    type: text

  subname:
    label: Untertitel
    type: text

  text01:
    label: Text
    type: markdown

  text02:
    label: Mehr Infos
    type: markdown

grettings perry

The setting doesn’t belong under options, but lives on the same level as options. If i were you, i wouldn’t use presets, i don’t think they will have a future

you mean like that?

title: page
icon: page
preset: page
files: true
pages: false


options:
  preview: true
  changeTemplate:
    - page
    - collection
  changeTitle: true
  changeStatus: true
  changeSlug: true
  delete: true
  duplicate: true

Yes.

hmh unfortunately didn’t work, the pages remain visible in the sidebar. i use k 3.5.3.1

Should work and does in my 3.6.6 Starterkit and since there haven’t been any changes since forever to how these presets work, it should be the same in 3.5.3.1 unless that version had a bug for some reason (which I doubt).

If it doesn’t work, you can always set up your blueprint without the preset. We will deprecate them soon anyway, because they cause more confusion than anything else.

well that worked, that’s a replica of the preset: page

title: subpage
icon: page


options:
  preview: true
  changeTemplate: true
  changeTitle: true
  changeStatus: true
  changeSlug: true
  delete: true
  duplicate: true


columns:

  # main content
  main:
    width: 2/3
    sections:
      content:
        type: fields

        fields:
          color_background:
            alpha: true
            type: colors
            label: Hintergrundfarbe


  # files
  sidebar:
    width: 1/3
    sections:
      files:
        headline: Files
        type: files
        layout: list

thank you for you help.