<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title><?php p($meta_title ?? $title) ?></title>
    <?php $this->printLayoutHead(); ?>
</head>
<body class="<?= $di->auth->getUserId() ? 'am-logged-in' : 'am-logged-out' ?> <?php p($body_class ?? '') ?>">
<?php echo $content ?>
</body>
</html>