compass/doc-src/layouts/partials/sidebar.haml

6 lines
405 B
Plaintext
Raw Normal View History

2010-04-21 05:43:25 +00:00
%nav#local-nav
2010-12-19 00:25:49 +00:00
- sidebar_item = reference_item(:stylesheet => @item[:nav_stylesheet]) if @item[:nav_stylesheet]
- sidebar_item ||= sidebar_item(@item)
- sidebar_item ||= reference_item(:stylesheet => @default_stylesheet)
%ul= item_tree(sidebar_item, :depth => 1, :omit_self => get_var(:omit_self){true}, :heading_level => get_var(:heading_level){1}, :heading_depth => get_var(:heading_depth){10})