diff --git a/views/templates/partials/footer.ejs b/views/templates/partials/footer.ejs index 433c773..bcb21a0 100644 --- a/views/templates/partials/footer.ejs +++ b/views/templates/partials/footer.ejs @@ -3,6 +3,9 @@ <% } %> +<% if(path=='/login' ){ %> + +<% } %> <% if(path=='/admin' ){ %> diff --git a/views/templates/public.ejs b/views/templates/public.ejs index 98b5e23..8021f92 100644 --- a/views/templates/public.ejs +++ b/views/templates/public.ejs @@ -6,4 +6,5 @@ <%//We will enable this when we add the server logic to toggle registration if(path == '/register'){ %> <%-// include("../pages/public/register") %> <%// } %> - \ No newline at end of file + +<%- include("./partials/footer") %> \ No newline at end of file