6 <?php if (!empty($title)) : ?>
8 <?php elseif (isset($entry)) : ?>
13 <meta name="viewport" content="width=1200, initial-scale=0.5">
14 <?php if (isset($baseUrl)) : ?>
15 <base href="<?= $baseUrl ?>">
16 <meta http-equiv="Content-Location" content="<?= $baseUrl . $ref ?>">
17 <link rel="stylesheet" href="index.css">
20 <link rel="shortcut icon" href="<?= $baseUrl . "favicon.ico" ?>">
24 <?php include __DIR__."/sidebar.phtml" ?>
25 <?php if (isset($exception)) : ?>
26 <?= \mdref\ExceptionHandler::htmlException($exception) ?>
27 <?php elseif (isset($entry)) : ?>
28 <?php include __DIR__."/mdref.phtml" ?>
30 <?php include __DIR__."/index.phtml" ?>
32 <?php if (isset($entry) && ($comments = $entry->getRepo()->getCommentProvider())) : ?>
34 <div class="comments">
35 <?php foreach ($comments as $providerName => $providerData) : ?>
36 <?php include __DIR__."/comments.$providerName.phtml" ?>
43 <?php include __DIR__."/footer.phtml" ?>
46 <?php if (isset($baseUrl)) : ?>
48 <script src="index.js" defer></script>