Direct access to page editing for logged-in users possible?


is it possible with Kirby for logged-in users to directly access the backend from a given page, like with WordPress (see attachment)?

You can simply do that with following codes. Just copy and paste to your footer or somewhere.

<?php if($kirby->user()): ?>
  <div id="edit-page">
    <a href="<?= $page->panel()->url() ?>">Edit this page</a>
<?php endif ?>

Great, thanks a lot for the fast response!