research: re-add missing image
[web.git] / _plugins / menu.rb
index 37c0851f960ac78385e2c5c5f48c4473182cd8c1..48befa744554a401219d35667b016724eae50881 100644 (file)
@@ -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