diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/partials/footer.ejs | 6 | ||||
| -rw-r--r-- | views/partials/header.ejs | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/views/partials/footer.ejs b/views/partials/footer.ejs index 163e28b..d5d82d0 100644 --- a/views/partials/footer.ejs +++ b/views/partials/footer.ejs @@ -1,5 +1,9 @@ </content> <% include ../partials/404 %> </body> -<% include ../partials/scripts %> +<% if (env == 'production') { %> + <script src="/assets/min/app.min.js"></script> +<% } else { %> + <% include ../partials/scripts %> +<% } %> </html>
\ No newline at end of file diff --git a/views/partials/header.ejs b/views/partials/header.ejs index f31594b..c810114 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -10,7 +10,7 @@ <body class="loading"> <header> - <% include ../partials/searchform %> <h1><%= title %></h1> + <% include ../partials/searchform %> </header> <content>
\ No newline at end of file |
