Skip to content

Kirby 4.4.1

Site blueprint

The Site blueprint is located in /site/blueprints and controls the Panel setup and form fields for the site/dashboard.

Blueprint location

  • /site/blueprints/site.yml

Title

With the title option, you can overwrite the Site label in the main menu of the Panel.

Translated titles

The title can be translated by passing an array of translations with the matching language code as key:

title:
  en: Site
  de: Webseite

Options

With options, you can control all the site actions that should or should not be available.

Option Value
changeTitle true/false
update true/false

Each option can be set on a per user role for fine-grained permissions, for example:

options:
  delete:
    admin: true
    editor: false

Or using a wildcard to change the default for all roles:

options:
  update:
    *: false
    editor: true
Since 4.0.0

Controlling accessibility for roles.

# Page is not accessible and not visible for all roles except admins.
options:
  access:
    *: false
    admin: true
  list:
    *: false
    admin: true

Custom preview URL

You can set the preview URL for the site in the site.yml with the preview property:

title: Site

options:
  preview: https://mycustomdomain.com