Explorar el Código

Add links box to root page only

Thibaut hace 10 años
padre
commit
16dcc3d2f8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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