Add conditional for partials in layout.ejs