Skip to content

Kirby 3.9.8

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

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