Browse Source

Add links box to root page only

Thibaut 10 years ago
parent
commit
16dcc3d2f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/docs/filters/core/links.rb

+ 1 - 1
lib/docs/filters/core/links.rb

@@ -1,7 +1,7 @@
 module Docs
   class LinksFilter < Filter
     def call
-      html.prepend(links_html) if links
+      html.prepend(links_html) if root_page? && links
       html
     end