Skip to content

Kirby 4.4.1

User blueprints

Common user blueprints

Contact information

/site/blueprints/users/default.yml
title: User

columns:
  left:
    width: 1/2
    fields:
      street:
        label: Street
        type: text
      zip:
        label: ZIP
        type: text
        width: 1/4
      city:
        label: City
        type: text
        width: 3/4
      country:
        label: Country
        type: text

  right:
    width: 1/2
    fields:
      website:
        label: Website
        type: url
      fediverse:
        label: Fediverse URL
        type: url
        icon: mastodon
        placeholder: https://example.com/@username
      instagram:
        label: Instagram
        type: text
        icon: instagram
        placeholder: username

User files

/site/blueprints/users/default.yml
title: User

sections:
  meta:
    type: fields
    fields:
      website:
        label: Website
        type: url
        width: 1/3
      fediverse:
        label: Fediverse URL
        type: url
        icon: mastodon
        placeholder: https://example.com/@username
        width: 1/3
      instagram:
        label: Instagram
        type: text
        icon: instagram
        placeholder: username
        width: 1/3
  documents:
    type: files
    empty: "No documents yet"
    layout: cards