mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Add links box to root page only
This commit is contained in:
parent
720f34e96c
commit
16dcc3d2f8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue