You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
598 B
26 lines
598 B
<% |
|
if (page.cover == undefined && theme.cover) { |
|
page.cover = true; |
|
} |
|
if (is_home() || is_category() || is_archive() || is_tag() || page.layout == 'list') { |
|
if (page.sidebar == undefined) { |
|
if (theme.layout.on_list.sidebar.length == 0) { |
|
page.sidebar = []; |
|
} else { |
|
page.sidebar = theme.layout.on_list.sidebar; |
|
} |
|
} |
|
|
|
} else { |
|
if (page.sidebar == undefined) { |
|
if (theme.layout.on_page.sidebar.length == 0) { |
|
page.sidebar = []; |
|
} else { |
|
page.sidebar = theme.layout.on_page.sidebar; |
|
} |
|
} |
|
} |
|
if (page.sidebar == false) { |
|
page.sidebar = []; |
|
} |
|
%>
|
|
|