Skip to content

Commit

Permalink
Old typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Glen committed Feb 18, 2015
1 parent fbb075a commit f2c1e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/smithy/liquid/tags/nav.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def section_page

def write_child_list_items?(parent, depth)
return false unless parent.present? && !parent.leaf?
return true if @source == '`-section' && @page.self_and_ancestors.include?(parent)
return true if @source == 'site-section' && @page.self_and_ancestors.include?(parent)
depth > @options[:depth] ? false : true
end

Expand Down

0 comments on commit f2c1e72

Please sign in to comment.