summaryrefslogtreecommitdiff
path: root/bin/page.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'bin/page.html.erb')
-rw-r--r--bin/page.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/page.html.erb b/bin/page.html.erb
index 354b123..49be4e8 100644
--- a/bin/page.html.erb
+++ b/bin/page.html.erb
@@ -30,7 +30,7 @@
</article>
<footer>
<%= @page.rights %>
- <p>Page source: <a href="<%= File.basename(@page.src) %>"><%= File.basename(@page.src) %></a></p>
+ <p>Page source: <a href="<%= @url.route_to(@page.srcurl) %>"><%= File.basename(@page.srcurl.to_s) %></a></p>
<p>Website source: <a href="https://git.andrewdm.me/www.git">www.git</a></p>
</footer>
</body>