Skip to content

Commit 5b9b3a3

Browse files
committed
Fix calling sidebar_table_of_content template
1 parent 077c177 commit 5b9b3a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rdoc/generator/template/darkfish/index.rhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
</article>
1515

1616
<nav class="contextual">
17-
<%= render '_sidebar_table_of_contents.rhtml' %>
17+
<%= render '_sidebar_table_of_contents.rhtml' if current %>
1818
</nav>
19-
</main>
19+
</main>

0 commit comments

Comments
 (0)