From 7b56f23b11ef78dafae13495ef878cebaf97f061 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 14 Dec 2017 21:47:23 +0100 Subject: js minify process for production --- views/partials/footer.ejs | 6 +++++- views/partials/header.ejs | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'views') 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 @@ <% include ../partials/404 %> -<% include ../partials/scripts %> +<% if (env == 'production') { %> + +<% } else { %> + <% include ../partials/scripts %> +<% } %> \ 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 @@
- <% include ../partials/searchform %>

<%= title %>

+ <% include ../partials/searchform %>
\ No newline at end of file -- cgit v1.2.3-70-g09d2