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.
37 lines
1.5 KiB
37 lines
1.5 KiB
<% page.comments = false; %> |
|
<div class='l_main<%- page.sidebar == false ? ' no_sidebar' : '' %>'> |
|
<% if (site.posts && site.posts.length > 0) { %> |
|
<% if (page.layout == 'tag') { %> |
|
<section class="post-list <%- theme.layout.multiple_columns ? 'multiple-columns' : '' %>"> |
|
<div class='post-wrapper'> |
|
<article id="archive-page" class="post article white-box <%- theme.style.shadow.card ? 'card-shadow' : '' %> <%- theme.style.blur && theme.style.blur.widget ? 'widget-blur' : '' %>"> |
|
<section class="archive"> |
|
<div class="archive-item archive-year mark"> |
|
<h2><%- page.title %></h2> |
|
</div> |
|
<div class="archive-item all-tags"> |
|
<% theme.widget.forEach(function(item){ %> |
|
<% if (item.class == 'tagcloud'){ %> |
|
<%- tagcloud(site.tags, { |
|
min_font: item.min_font, |
|
max_font: item.max_font, |
|
color: item.color, |
|
start_color: item.start_color, |
|
end_color: item.end_color, |
|
}) %> |
|
<% } %> |
|
<% }) %> |
|
</div> |
|
<br> |
|
<%- page.content %> |
|
</section> |
|
</article> |
|
</div> |
|
</section> |
|
<% } else { %> |
|
<%- partial('_partial/archive') %> |
|
<% } %> |
|
<% } %> |
|
</div> |
|
<%- partial('_partial/side') %> |
|
<%- partial('_partial/footer', null, {cache: !config.relative_link}) %>
|
|
|