prep for gexhall campaign
This commit is contained in:
@@ -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">
|
||||
< Back to <%= titlesBySection[page.subsection] %>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<% } else if (page.path && page.subsection &&
|
||||
!page.path.endsWith(`${page.subsection.replace('-', '/')}/index.html`)) { %>
|
||||
|
||||
|
Reference in New Issue
Block a user