add new campaigns
add equipment to rules add animist class add referee's screen
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
var titlesBySection = {
|
||||
// top-level
|
||||
astral: "Astral Info",
|
||||
campaigns: "Campaigns",
|
||||
campaign: "Campaign Info",
|
||||
classes: "Character Classes",
|
||||
"magic-items": "Magic Items",
|
||||
@@ -16,7 +17,6 @@ var titlesBySection = {
|
||||
transcendental: "Transcendental Planes",
|
||||
},
|
||||
unlistedSections = ['main'];
|
||||
|
||||
%>
|
||||
|
||||
<% if (page.subsection && page.path && !page.path.endsWith(`${page.subsection}/index.html`)) { %>
|
||||
@@ -31,7 +31,8 @@ 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.endsWith(`${page.section}/index.html`)) { -%>
|
||||
<% } else if (page.section && !unlistedSections.includes(page.section) && page.path &&
|
||||
!(page.path === `${page.section}/index.html` || page.path.endsWith(`/${page.section}/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) %>
|
||||
|
@@ -110,13 +110,12 @@
|
||||
<li class="hasSubMenu">
|
||||
<details open>
|
||||
<summary>
|
||||
<a href="/campaign/index.html" aria-haspopup="true">Campaign</a>
|
||||
<a href="/campaigns/index.html" aria-haspopup="true">Campaigns</a>
|
||||
</summary>
|
||||
<ul class="dropdown" aria-label="submenu">
|
||||
<li><a href="/npcs/index.html">NPCs</a></li>
|
||||
<li><a href="/campaign/ravager.html">The Ravager</a></li>
|
||||
<li><a href="/campaign/shazz-journals.html">Shazzograx's Journals</a></li>
|
||||
<li><a href="/campaign/timeline.html">Timeline</a></li>
|
||||
<li><a href="/campaigns/index.html">Mini-Campaigns</a></li>
|
||||
<li><a href="/campaigns/.html">One Night...</a></li>
|
||||
<li><a href="/campaign/index.html">Astral Jam</a></li>
|
||||
</ul>
|
||||
</details>
|
||||
</li>
|
||||
@@ -146,7 +145,7 @@
|
||||
|
||||
<li><a href="/tools/index.html">Tools</a></li>
|
||||
|
||||
<li><a href="/campaign/index.html">Campaign</a></li>
|
||||
<li><a href="/campaigns/index.html">Campaigns</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
@@ -4,6 +4,7 @@ var menuLinksByOption = {
|
||||
Basics: "/rules/basics.html",
|
||||
Combat: "/rules/combat.html",
|
||||
Adventuring: "/rules/adventuring.html",
|
||||
Equipment: "/rules/equipment/fantasy.html",
|
||||
Magic: "/rules/magic.html",
|
||||
"Referees Only": "/rules/referees.html",
|
||||
};
|
||||
@@ -34,7 +35,7 @@ var title = (page.title ?? '').replace('HOSR ', '');
|
||||
<div class="rulesMenu">
|
||||
<div class="rulesVersion">
|
||||
|
||||
Version 0.13.0 / 2024-03-04
|
||||
Version 0.14.0 / 2024-03-10
|
||||
<!--
|
||||
<%=site.version ?? '0.0.0' %>
|
||||
<%=site.lastUpdated ?? '0.0.0' %>
|
||||
|
@@ -50,34 +50,35 @@
|
||||
<meta property="og:title" content="<%= getPageField('title') %>" />
|
||||
<% if (page.image) { %>
|
||||
<meta property="og:image" content="<%= page.image %>" />
|
||||
<% } %>
|
||||
<% if (page.description) { %>
|
||||
<meta property="og:description" content="<%= page.description %>" />
|
||||
<% } %>
|
||||
<% } %>
|
||||
<% if (page.description) { %>
|
||||
<meta property="og:description" content="<%= page.description %>" />
|
||||
<% } %>
|
||||
|
||||
<!-- Twitter Card -->
|
||||
<% if (page.image) { %>
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<% } else { %>
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<% } %>
|
||||
<meta name="twitter:url" content="<%= site.base_uri %><%= page.path %>" />
|
||||
<meta name="twitter:title" content="<%= getPageField('title') %>" />
|
||||
<meta name="twitter:description" content="<%= getPageField('description') %>" />
|
||||
<meta name="twitter:image:src" content="<%= getPageField('image') %>" />
|
||||
<% if (page.author && page.author.twitter) { %>
|
||||
<meta name="twitter:creator" content="<%= page.author.twitter %>" />
|
||||
<% } else if (site.author && site.author.twitter) { %>
|
||||
<meta name="twitter:creator" content="<%= site.author.twitter %>" />
|
||||
<% } %>
|
||||
<link rel="start" href="<%= site.base_uri %>/" />
|
||||
<link rel="contents" href="/sitemap.xml" title="Sitemap" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed" />
|
||||
<link rel="canonical" href="<%= site.base_uri %><%= page.path %>" />
|
||||
<!-- Twitter Card -->
|
||||
<% if (page.image) { %>
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<% } else { %>
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<% } %>
|
||||
<meta name="twitter:url" content="<%= site.base_uri %><%= page.path %>" />
|
||||
<meta name="twitter:title" content="<%= getPageField('title') %>" />
|
||||
<meta name="twitter:description" content="<%= getPageField('description') %>" />
|
||||
<meta name="twitter:image:src" content="<%= getPageField('image') %>" />
|
||||
<% if (page.author && page.author.twitter) { %>
|
||||
<meta name="twitter:creator" content="<%= page.author.twitter %>" />
|
||||
<% } else if (site.author && site.author.twitter) { %>
|
||||
<meta name="twitter:creator" content="<%= site.author.twitter %>" />
|
||||
<% } %>
|
||||
|
||||
<link rel="start" href="<%= site.base_uri %>/" />
|
||||
<link rel="contents" href="/sitemap.xml" title="Sitemap" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed" />
|
||||
<link rel="canonical" href="<%= site.base_uri %><%= page.path %>" />
|
||||
|
||||
<link rel="stylesheet" href="/styles/imports.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/fonts.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/styles.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/imports.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/fonts.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/styles.css" type="text/css" />
|
||||
</head>
|
||||
|
||||
<!-- TOP END -->
|
Reference in New Issue
Block a user