parent
38aeed79da
commit
6434ac4a7f
9 changed files with 21 additions and 1 deletions
@ -0,0 +1,11 @@ |
||||
<% |
||||
if (is_home() || is_category() || is_archive() || is_tag() || page.layout == 'list') { |
||||
if (theme.layout.on_list.sidebar.length == 0) { |
||||
page.sidebar = false; |
||||
} |
||||
} else { |
||||
if (theme.layout.on_page.sidebar.length == 0) { |
||||
page.sidebar = false; |
||||
} |
||||
} |
||||
%> |
Loading…
Reference in new issue