ソースを参照

Add links box to root page only

Thibaut 10 年 前
コミット
16dcc3d2f8
1 ファイル変更1 行追加1 行削除
  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