Przeglądaj źródła

Add links box to root page only

Thibaut 10 lat temu
rodzic
commit
16dcc3d2f8
1 zmienionych plików z 1 dodań i 1 usunięć
  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