rules updates
add dread wurm and werebeasts fix backlink for magic items update rules for + abilities
This commit is contained in:
@@ -16,7 +16,8 @@ var titlesBySection = {
|
||||
near: "Near Planes",
|
||||
transcendental: "Transcendental Planes",
|
||||
},
|
||||
unlistedSections = ['main'];
|
||||
unlistedSections = ['main'],
|
||||
fixedSection = page?.section?.replace(/\s+/, '-');
|
||||
%>
|
||||
|
||||
<% if (page.subsection && page.path && !page.path.endsWith(`${page.subsection}/index.html`)) { %>
|
||||
@@ -31,11 +32,11 @@ unlistedSections = ['main'];
|
||||
The latest version of this license can always be found at <a href="/<%=page.path%>"><%=site.uri%>/<%=page.path.replace('/index.html', '/')%></a>.
|
||||
</p>
|
||||
|
||||
<% } else if (page.section && !unlistedSections.includes(page.section) && page.path &&
|
||||
!(page.path === `${page.section}/index.html` || page.path.endsWith(`/${page.section}/index.html`))) { -%>
|
||||
<% } else if (fixedSection && !unlistedSections.includes(fixedSection) && page.path &&
|
||||
!(page.path === `${fixedSection}/index.html` || page.path.endsWith(`/${fixedSection}/index.html`))) { -%>
|
||||
<div class="sectionBackLink-wrapper">
|
||||
<a href="/<%=page.section%>/index.html" class="sectionBackLink">
|
||||
< Back to <%= titlesBySection[page.section] ?? page.section.charAt(0).toUpperCase() + page.section.slice(1) %>
|
||||
<a href="/<%=fixedSection%>/index.html" class="sectionBackLink">
|
||||
< Back to <%= titlesBySection[fixedSection] ?? page.section.charAt(0).toUpperCase() + page.section.slice(1) %>
|
||||
</a>
|
||||
</div>
|
||||
<% } -%>
|
||||
|
@@ -35,7 +35,7 @@ var title = (page.title ?? '').replace('HOSR ', '');
|
||||
<div class="rulesMenu">
|
||||
<div class="rulesVersion">
|
||||
|
||||
Version 0.14.0 / 2024-03-10
|
||||
Version 0.14.1 / 2024-03-18
|
||||
<!--
|
||||
<%=site.version ?? '0.0.0' %>
|
||||
<%=site.lastUpdated ?? '0.0.0' %>
|
||||
|
Reference in New Issue
Block a user