Skip to content

Commit 0892eb7

Browse files
Merge pull request #725 from jiminhsieh/ticket/#704
Fix broken links of "Problem with this page?"
2 parents 5150746 + 8448375 commit 0892eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/sidebar-toc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h5>Contents</h5>
66

77
</div>
88
<hr>
9-
<div class="help-us"><a href="https://github.com/scala/scala-lang/blob/master/{{ page.relative_path }}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
9+
<div class="help-us"><a href="https://github.com/scala/scala-lang/blob/master/{% if page.collection %}{{ page.relative_path }}{% else %}{{ page.path }}{% endif %}"><i class="fa fa-pencil" aria-hidden="true"></i> Problem with this page?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please help us fix it!</a></div>
1010
</div>
1111
</div>
1212
{% endif %}

0 commit comments

Comments
 (0)