<% if (note.hasLabel("shareDescription")) { %> "> <% } %> <% if (note.hasRelation("shareFavicon")) { %> /download"> <% } else { %> <% } %> <% if (!note.hasLabel("shareOmitDefaultCss")) { %> <% } %> <% if (note.hasLabel("shareSwagger")) { %> <% } %> <% if (note.type === 'text' || note.type === 'book') { %> <% } %> <% for (const cssRelation of note.getRelations("shareCss")) { %> <% } %> <% for (const jsRelation of note.getRelations("shareJs")) { %> <% } %> <% if (note.hasLabel('shareDisallowRobotIndexing')) { %> <% } %> <%- header %> <%= note.title %><% if (note.noteId !== subRoot.noteId) { %> - <%= subRoot.title %><% } %> "> "> <% const currentTheme = note.getLabel("shareTheme") === "light" ? "light" : "dark"; const themeClass = currentTheme === "light" ? " theme-light" : " theme-dark"; %>
<% if (subRoot.hasRelation("shareLogo")) { %> /download" alt="Logo" /> <% } %> <%= subRoot.title %>

<%= note.title %>

<% if (isEmpty && (!note.hasVisibleChildren() && note.type !== "book")) { %>

This note has no content.

<% } else { %> <%- content %> <% } %>
<% if (note.hasVisibleChildren() || note.type === "book") { %> <% } else %>