<?php if ($user = $kirby->user()): ?>
<a <?php e($page->is('user'), 'aria-current ') ?> href="<?= url('user') ?>"><?= $site->user()->html
<a href="<?= url('logout') ?>"><?= $site->logout()->html() ?></a>
<?php else: ?>
<a <?php e($page->is('login'), 'aria-current ') ?> href="<?= url('login') ?>"><?= $site->login()->htm
<a <?php e($page->is('register'), 'aria-current ') ?> href="<?= url('register') ?>"><?= $site->regist
<?php endif ?>
