expand the bestiary

This commit is contained in:
2024-02-05 14:27:48 -05:00
parent 43830db1d9
commit c2bae090a9
31 changed files with 470 additions and 253 deletions

View File

@@ -14,7 +14,6 @@ var titlesBySection = {
material: "Material Planes",
near: "Near Planes",
transcendental: "Transcendental Planes",
},
unlistedSections = ['main'];
@@ -23,7 +22,8 @@ unlistedSections = ['main'];
<% if (page.subsection && page.path && !page.path.endsWith(`${page.subsection}/index.html`)) { %>
<div class="sectionBackLink-wrapper">
<a href="./index.html" class="sectionBackLink">
&lt; Back to <%= titlesBySection[page.subsection] ?? page.subsection.charAt(0).toUpperCase() + page.subsection.slice(1) %>
&lt; Back to <%= titlesBySection[page.subsection]
?? page.subsection.charAt(0).toUpperCase() + page.subsection.slice(1) %>
</a>
</div>
<% } else if (page.section && page.section === 'licenses' && page.path && !page.path.endsWith(`${page.section}/index.html`)) { -%>
@@ -33,7 +33,7 @@ unlistedSections = ['main'];
<% } else if (page.section && !unlistedSections.includes(page.section) && page.path && !page.path.endsWith(`${page.section}/index.html`)) { -%>
<div class="sectionBackLink-wrapper">
<a href="<%=page.subsection ? '..' : '.'-%>/index.html" class="sectionBackLink">
<a href="/<%=page.section%>/index.html" class="sectionBackLink">
&lt; Back to <%= titlesBySection[page.section] ?? page.section.charAt(0).toUpperCase() + page.section.slice(1) %>
</a>
</div>

View File

@@ -34,7 +34,7 @@ var title = (page.title ?? '').replace('HOSR ', '');
<div class="rulesMenu">
<div class="rulesVersion">
Version 0.12.0 / 2023-12-09
Version 0.12.2 / 2024-02-01
<!--
<%=site.version ?? '0.0.0' %>
<%=site.lastUpdated ?? '0.0.0' %>