% var titlesBySection = { // top-level astral: "Astral Info", campaign: "Campaign Info", classes: "Character Classes", "magic-items": "Magic Items", planes: "Planar Cosmology", races: "Character Races", rules: "House Rules", // planes elemental: "Elemental Planes", material: "Material Planes", near: "Near Planes", transcendental: "Transcendental Planes", }, unlistedSections = ['main']; %> <% if (page.subsection && page.path && !page.path.endsWith(`${page.subsection}/index.html`)) { %>
<% } else if (page.section && page.section === 'licenses') { -%>The latest version of this license can always be found at <%=site.url%>/<%=page.path%>.
<% } else if (page.section && !unlistedSections.includes(page.section) && page.path && !page.path.endsWith(`${page.section}/index.html`)) { -%> <% } -%>