summaryrefslogtreecommitdiff
path: root/app/Template/layout.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-09-21 21:07:15 -0400
committerFrederic Guillot <fred@kanboard.net>2015-09-21 21:07:15 -0400
commit78ecdc05c34f706a4eab3ff09161a3a79189cdf6 (patch)
tree8fbc6f854b73509408b841fc21ba698f38b0b931 /app/Template/layout.php
parent2cff1d6a37977caec4376e1dee0b9215d2ecdca8 (diff)
Add plugin hooks for assets
Diffstat (limited to 'app/Template/layout.php')
-rw-r--r--app/Template/layout.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Template/layout.php b/app/Template/layout.php
index 49ac2a08..cba8d2a3 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">