summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Template/layout.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/Template/layout.php b/app/Template/layout.php
index 811da9db..a80fc288 100644
--- a/app/Template/layout.php
+++ b/app/Template/layout.php
@@ -18,6 +18,11 @@
<?= $this->asset->css('assets/css/print.min.css', true, 'print') ?>
<?= $this->asset->customCss() ?>
+ <?php if (! isset($not_editable)): ?>
+ <?= $this->asset->js('assets/js/vendor.min.js') ?>
+ <?= $this->asset->js('assets/js/app.min.js') ?>
+ <?php endif ?>
+
<?= $this->hook->asset('css', 'template:layout:css') ?>
<?= $this->hook->asset('js', 'template:layout:js') ?>
@@ -60,9 +65,5 @@
</section>
<?= $this->hook->render('template:layout:bottom') ?>
<?php endif ?>
- <?php if (! isset($not_editable)): ?>
- <?= $this->asset->js('assets/js/vendor.min.js') ?>
- <?= $this->asset->js('assets/js/app.min.js') ?>
- <?php endif ?>
</body>
</html>