use #shareAlias in parent link, closes #2535

This commit is contained in:
zadam 2022-01-09 09:04:21 +01:00
parent 9df521109b
commit 0e9d76890b

View File

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