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

9 lines
430 B
Plaintext
Raw Permalink 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})
2011-12-30 22:40:09 +00:00
2012-03-17 22:44:20 +00:00
= render 'partials/ad'