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.

39 lines
1.5 KiB

5 years ago
<% page.comments = false; %>
4 years ago
<div class='l_main<%- page.sidebar == false ? ' no_sidebar' : '' %>'>
5 years ago
<% if (site.posts && site.posts.length > 0) { %>
5 years ago
<% if (page.layout == 'tag') { %>
5 years ago
<section class="post-list">
<div class='post-wrapper'>
<article id="archive-page" class="post article white-box">
<section class="archive">
<div class="archive-item archive-year mark">
<h2><%- page.title %></h2>
</div>
4 years ago
<div class="archive-item all-tags">
<% theme.sidebar.forEach(function(item){ %>
<% let widget_name = item.widget ? item.widget : 'plain'; %>
<% if (item.enable != false && widget_name == 'tagcloud'){ %>
<%- tagcloud(site.tags, {
min_font: 16,
max_font: 32,
color: false,
start_color: item.start_color ? item.start_color : '#999',
end_color: item.end_color ? item.end_color : '#666',
}) %>
<% } %>
<% }) %>
5 years ago
</div>
<br>
<%- page.content %>
</section>
</article>
</div>
</section>
<% } else { %>
<%- partial('_partial/archive') %>
<% } %>
5 years ago
<% } %>
5 years ago
</div>
<%- partial('_partial/side') %>
5 years ago
<%- partial('_partial/footer', null, {cache: !config.relative_link}) %>