<% if (data && data.canonicalPath) { %> <% } else { %> <% } %>