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.

38 lines
1.3 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">
4 years ago
<% theme.widget.forEach(function(item){ %>
<% if (item.class == 'tagcloud'){ %>
4 years ago
<%- tagcloud(site.tags, {
4 years ago
min_font: item.min_font,
max_font: item.max_font,
color: item.color,
start_color: item.start_color,
end_color: item.end_color,
4 years ago
}) %>
<% } %>
<% }) %>
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}) %>