<% if (note.parents[0].noteId !== 'share' && note.parents.length !== 0) { %> <% } %>
<%= note.title %>
<% if (note.type === 'book') { %> <% } else if (isEmpty) { %>This note has no content.
<% } else { %>
<%- content %>
<% } %>
<% if (note.hasChildren()) { %>
<% } %>