Fix parent share link

This commit is contained in:
Caleb Norton
2025-01-16 15:18:09 -06:00
parent b2e1a3e97a
commit b8f15d2fe3

View File

@@ -37,7 +37,7 @@
<div id="main">
<% if (note.parents[0].noteId !== '_share' && note.parents.length !== 0) { %>
<nav id="parentLink">
<%= t("share_page.parent") %> <a href="<%= note.parents[0].shareId %>"
<%= t("share_page.parent") %> <a href="./<%= note.parents[0].shareId %>"
class="type-<%= note.parents[0].type %>"><%= note.parents[0].title %></a>
</nav>
<% } %>