projects
/
web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
research: re-add missing image
[web.git]
/
_plugins
/
menu.rb
diff --git
a/_plugins/menu.rb
b/_plugins/menu.rb
index 37c0851f960ac78385e2c5c5f48c4473182cd8c1..48befa744554a401219d35667b016724eae50881 100644
(file)
--- a/
_plugins/menu.rb
+++ b/
_plugins/menu.rb
@@
-30,6
+30,10
@@
module Jekyll
sub_nodes.each { |page| page['class'] = 'child' }
end
end
+ # remember the root
+ if base == ""
+ menu_node['class'] += ' root'
+ end
# store menu node
result.push(menu_node)
end