History

Add links box to root page only

Thibaut committed 11 years ago

Commit 16dcc3d1 parent 720f34e1 file · +1 −1Browse files

Showing the changes to lib (1 of 1 file). Show all

Unified · Split

lib/docs/filters/core/links.rb+1−1
@@ -1,7 +1,7 @@
11 module Docs
22 class LinksFilter < Filter
33 def call
4− html.prepend(links_html) if links
4+ html.prepend(links_html) if root_page? && links
55 html
66 end
77