prep for gexhall campaign

This commit is contained in:
2025-04-13 20:48:21 -04:00
parent 6ce2914598
commit 70dd1c6451
15 changed files with 88 additions and 149 deletions

View File

@@ -6,7 +6,7 @@ var titlesBySection = {
campaign: "Astral Campaign Info",
classes: "Character Classes",
"magic-items": "Magic Items",
planes: "Planar Cosmology",
planes: "the Cosmology of the Multiverse",
races: "Character Races",
rules: "Core Rules",
@@ -24,12 +24,14 @@ var titlesBySection = {
// planes
elemental: "Elemental Planes",
material: "Material Planes",
near: "Near Planes",
near: "the Near Planes",
transcendental: "Transcendental Planes",
"near-faewolde": "The Faewolde",
equipment: "Equipment Tables",
},
unlistedSections = ['main'],
nestedSubsections = ['near'],
fixedSection = page?.section?.replace(/\s+/, '-');
%>
@@ -50,6 +52,14 @@ var titlesBySection = {
</a>
</div>
<% } else if (page.path && page.subsection && nestedSubsections.includes(page.subsection)) { %>
<div class="sectionBackLink-wrapper">
<a href="../" class="sectionBackLink">
&lt; Back to <%= titlesBySection[page.subsection] %>
</a>
</div>
<% } else if (page.path && page.subsection &&
!page.path.endsWith(`${page.subsection.replace('-', '/')}/index.html`)) { %>