<% var titlesBySection = { // top-level astral: "Astral Info", campaigns: "Campaigns", 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'], fixedSection = page?.section?.replace(/\s+/, '-'); %> <% if (page.subsection && page.path && !page.path.endsWith(`${page.subsection}/index.html`)) { %> <% } else if (page.section && page.section === 'licenses' && page.path && !page.path.endsWith(`${page.section}/index.html`)) { -%>

The latest version of this license can always be found at <%=site.uri%>/<%=page.path.replace('/index.html', '/')%>.

<% } else if (fixedSection && !unlistedSections.includes(fixedSection) && page.path && !(page.path === `${fixedSection}/index.html` || page.path.endsWith(`/${fixedSection}/index.html`))) { -%> <% } -%>