aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/read.php
blob: 27c3d874db2e7b4be627f52d6e6c6b087d8978f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php $this->layout('readerlayout') ?>

<?php
$this->start('head');

echo $head;

$this->stop();
?>



<?php $this->start('page') ?>

<body>


<?= $body ?>


</body>

<?php $this->stop() ?>
; <link rel="shortcut icon" href="<?= Wcms\Model::faviconpath() . $favicon ?>" type="image/x-icon"> <?php } elseif (!empty(Wcms\Config::defaultfavicon())) { ?> <link rel="shortcut icon" href="<?= Wcms\Model::faviconpath() . Wcms\Config::defaultfavicon() ?>" type="image/x-icon"> <?php } ?> <title><?= $title ?></title> <?php foreach ($stylesheets as $stylsheet) { ?> <link rel="stylesheet" href="<?= $stylsheet ?>"> <?php } ?> <?php if (!empty(Wcms\Config::interfacecss())) { echo '<link rel="stylesheet" href="' . Wcms\Model::csspath() . Wcms\Config::interfacecss() . '">'; } if (isreportingerrors()) { ?> <script> const sentrydsn = '<?= Wcms\Config::sentrydsn() ?>'; const version = '<?= getversion() ?>'; const url = '<?= Wcms\Config::url() ?>'; const basepath = '<?= Wcms\Config::basepath() ?>'; </script> <script src="https://browser.sentry-cdn.com/5.9.0/bundle.min.js"></script> <script src="<?= Wcms\Model::jspath() ?>sentry.bundle.js"></script> <?php } ?> </head> <?= $this->section('page') ?> </html>