diff options
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/layout.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/layout.php b/app/Template/layout.php index 49ac2a08..20582952 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -21,6 +21,9 @@ <?= $this->asset->css('assets/css/print.css', true, 'print') ?> <?= $this->asset->customCss() ?> + <?= $this->hook->asset('css', 'template:layout:css') ?> + <?= $this->hook->asset('js', 'template:layout:js') ?> + <link rel="icon" type="image/png" href="<?= $this->url->dir() ?>assets/img/favicon.png"> <link rel="apple-touch-icon" href="<?= $this->url->dir() ?>assets/img/touch-icon-iphone.png"> <link rel="apple-touch-icon" sizes="72x72" href="<?= $this->url->dir() ?>assets/img/touch-icon-ipad.png"> @@ -44,7 +47,7 @@ <?= $this->render('header', array( 'title' => $title, 'description' => isset($description) ? $description : '', - 'board_selector' => $board_selector, + 'board_selector' => isset($board_selector) ? $board_selector : array(), )) ?> <section class="page"> <?= $this->app->flashMessage() ?> |