Skip to content

Commit 4344cf0

Browse files
committed
feat: add ref parameter on quicklink
1 parent c0d907e commit 4344cf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<a href="https://github.com/pmh-only/indexgen">indexgen</a> |
110110

111111
<% for (const quicklink of quicklinks) { %>
112-
<a href="<%= quicklink.link %>"><%= quicklink.title %></a>
112+
<a href="<%= quicklink.link %>?ref=/<%= directory.fullname %>"><%= quicklink.title %></a>
113113
<% } %>
114114
</small></p>
115115
</div>

templates/viewer.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<a href="https://github.com/pmh-only/indexgen">indexgen</a> |
8686

8787
<% for (const quicklink of quicklinks) { %>
88-
<a href="<%= quicklink.link %>"><%= quicklink.title %></a>
88+
<a href="<%= quicklink.link %>?ref=/<%= file.fullname %>"><%= quicklink.title %></a>
8989
<% } %>
9090
</small></p>
9191
</div>

0 commit comments

Comments
 (0)