diff --git a/themes/Bootstrap/Views/Layouts/Default.tpl b/themes/Bootstrap/Views/Layouts/Default.tpl
index 6d56c61028..45b2477263 100644
--- a/themes/Bootstrap/Views/Layouts/Default.tpl
+++ b/themes/Bootstrap/Views/Layouts/Default.tpl
@@ -27,8 +27,8 @@ echo Asset::render('css', 'header');
@php
echo Asset::build('js', array(
- asset_url('js/sprintf.min.js'),
- 'https://code.jquery.com/jquery-1.12.4.min.js',
+ asset_url('js/sprintf.min.js'),
+ 'https://code.jquery.com/jquery-1.12.4.min.js',
));
echo Asset::render('js', 'header');
diff --git a/themes/Bootstrap/Views/Layouts/Static.tpl b/themes/Bootstrap/Views/Layouts/Static.tpl
index d82bc03804..9ddb1db4e6 100644
--- a/themes/Bootstrap/Views/Layouts/Static.tpl
+++ b/themes/Bootstrap/Views/Layouts/Static.tpl
@@ -4,19 +4,37 @@
{{ $title or 'Page' }} - {{ Config::get('app.name') }}
+@php
+
+echo Assets::build('css', array(
+ 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css',
+ 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css',
+ 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css',
+ asset_url('css/bootstrap-xl-mod.min.css', 'themes/bootstrap'),
+ asset_url('css/style.css', 'themes/bootstrap'),
+));
+
+echo Asset::render('css', 'header');
+
+@endphp
+
+
+
+
+@php
+
+echo Assets::build('js', array(
+ asset_url('js/sprintf.min.js'),
+ 'https://code.jquery.com/jquery-1.12.4.min.js',
+));
+
+echo Asset::render('js', 'header');
+
+@endphp
- @assets('css', array(
- 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css',
- 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css',
- 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css',
- asset_url('css/bootstrap-xl-mod.min.css', 'themes/bootstrap'),
- asset_url('css/style.css', 'themes/bootstrap'),
- ))
-
- @assets('js', array(
- asset_url('js/sprintf.min.js'),
- 'https://code.jquery.com/jquery-1.12.4.min.js',
- ))
@@ -31,9 +49,15 @@
@include('Themes/Bootstrap::Partials/Footer')
-@assets('js', array(
+@php
+
+echo Asset::build('js', array(
'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'
-))
+));
+
+echo Asset::render('js', 'footer');
+
+@endphp