6 <?php if (!empty($title)) : ?>
8 <?php elseif (isset($entry)) : ?>
13 <meta property="og:title" content="<?= $esc(
19 $entry->isFunction() || $entry->isNsClass()
26 <meta name="viewport" content="width=1200, initial-scale=0.5">
27 <?php if (isset($baseUrl)) : ?>
28 <base href="<?= $baseUrl ?>">
29 <meta http-equiv="Content-Location" content="<?= $baseUrl . $ref ?>">
30 <link rel="stylesheet" href="index.css">
33 <link rel="shortcut icon" href="<?= $baseUrl . "favicon.ico" ?>">
37 <?php include __DIR__."/sidebar.phtml" ?>
38 <?php if (isset($exception)) : ?>
39 <?= \mdref\ExceptionHandler::htmlException($exception) ?>
40 <?php elseif (isset($entry)) : ?>
41 <?php include __DIR__."/mdref.phtml" ?>
43 <?php include __DIR__."/index.phtml" ?>
45 <?php if (isset($entry) && ($comments = $entry->getRepo()->getCommentProvider())) : ?>
47 <div class="comments">
48 <?php foreach ($comments as $providerName => $providerData) : ?>
49 <?php include __DIR__."/comments.$providerName.phtml" ?>
56 <?php include __DIR__."/footer.phtml" ?>
59 <?php if (isset($baseUrl)) : ?>
61 <script src="index.js" defer></script>