migrate to web-weevr

This commit is contained in:
2024-01-28 00:47:44 -05:00
parent 37779ddba3
commit f857cb5b60
42 changed files with 1702 additions and 1968 deletions

View File

@@ -26,9 +26,9 @@ unlistedSections = ['main'];
&lt; Back to <%= titlesBySection[page.subsection] ?? page.subsection.charAt(0).toUpperCase() + page.subsection.slice(1) %>
</a>
</div>
<% } else if (page.section && page.section === 'licenses') { -%>
<% } else if (page.section && page.section === 'licenses' && page.path && !page.path.endsWith(`${page.section}/index.html`)) { -%>
<p>
The latest version of this license can always be found at <a href="<%=site.url%>/<%=page.path%>"><%=site.url%>/<%=page.path%></a>.
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`)) { -%>

View File

@@ -45,7 +45,7 @@
both used under the SIL Open Font License, Version 1.1.
</p>
<p>
Background image created with <a href="https://labs.openai.com/" target="_blank">DALL-E</a> released under a <a href="/licenses/cc0">CC0</a> license.
Background image created with <a href="https://labs.openai.com/" target="_blank">DALL-E</a> released under a <a href="/licenses/cc0/">CC0</a> license.
</p>
<a href="#top" class="topLink">Back to Top</a>
</div>