Skip to content

Latest commit

 

History

History

redirect

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Kirby Redirect Field

This field redirects a user to the parent of the currently visited panel page.
Useful for pages that act like a container.

Blueprint

fields:
  title:
    label: Title
    type: text

  redirect:
    label: Redirect
    type: redirect
  ...

Redirect to a specific page

Redirect to panel/projects/project-a/edit. When the page is not found you will get redirected to the dashboard.

  redirect:
    label: Redirect
    type: redirect

    redirect: projects/project-a

Hide pages

There are several ways to hide pages in the panel. The easyiest way would be to set hide: true in the pages blueprint. This would hide a page in the sidebar. To get rid of the breadcrumb link you can put something like this to your custom panel css.

.breadcrumb-link[title="your-page-title"] {
  display: none;
}