<% 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 %>
<% if (note.hasLabel("pageUrl")) { %>
This note was originally clipped from "><%= note.getLabelValue("pageUrl") %>
<% } %> <% if (!isEmpty) { %>

<%= note.title %>

<%- content %>
<% } %> <% if (note.hasVisibleChildren()) { %> <% } else if (isEmpty) { %>

<%= note.title %>

This note has no content.

<% } %>