<% if (note.parents[0].noteId !== '_share' && note.parents.length !== 0) { %>
<% } %>
<%= note.title %>
<% if (note.hasLabel("pageUrl")) { %>
<% } %>
<% if (!isEmpty) { %>
<%- content %>
<% } %>
<% if (note.hasVisibleChildren()) { %>
<% } else if (isEmpty) { %>
This note has no content.
<% } %>
<% if (subRoot.note.hasVisibleChildren()) { %>
<% } %>