aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/layout.php
blob: b0547919c2ae86470a77f4ffb3b5290b39217421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf8" />
   
    <meta name="viewport" content="width=device-width" />
    <?php if(!empty($favicon)) {
        ?>
        <link rel="shortcut icon" href="<?= Model::faviconpath() . $favicon ?>" type="image/x-icon">
    <?php } elseif(!empty(Config::defaultfavicon())) { ?>
        <link rel="shortcut icon" href="<?= Model::faviconpath() . Config::defaultfavicon() ?>" type="image/x-icon">
    <?php } ?>
    <title><?= $title ?></title>
    <link rel="stylesheet" href="<?= $css ?>">
    <script>
        // global js vars
        const basepath = '/<?= Config::basepath() ?>/';
        const jspath = '<?= Model::jspath() ?>';
    </script>
</head>



<?=$this->section('page')?>


</html>