From f2c1e72eaa02ec8f7fecf406091234e6b18302a6 Mon Sep 17 00:00:00 2001 From: Tim Glen Date: Wed, 18 Feb 2015 16:16:53 -0500 Subject: [PATCH] Old typo --- lib/smithy/liquid/tags/nav.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/smithy/liquid/tags/nav.rb b/lib/smithy/liquid/tags/nav.rb index 50d28f0..adf01ce 100644 --- a/lib/smithy/liquid/tags/nav.rb +++ b/lib/smithy/liquid/tags/nav.rb @@ -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