Confirma tu dateo:

<% if (typeof(category) != 'undefined') { %>
<%= category_name %>
<% } %>

<%= content %>

<% if (typeof(imageURI) !== "undefined"){ %> <% } %>