fazlurr
9/26/2016 - 6:59 AM

If Conditional in EJS - http://blog.joeandrieu.com/2013/10/16/how-to-conditionally-display-variables-with-ejs/

<%= user.name ? user.name : '' %>
<%= typeof user.name!='undefined' ? user.name : '' %>