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.

21 lines
704 B

3 years ago
<% if (site.posts && site.posts.length > 0) { %>
<div class="statis">
<span class="count"><a href="<%- url_for('/') %>"><%- site.posts.length %></a></span>
<span class="name"><%- __('posts') %></span>
</div>
<% } %>
<% if (site.categories && site.categories.length > 0) { %>
<div class="statis">
<span class="count"><a href="<%- url_for('/categories') %>"><%- site.categories.length %></a></span>
<span class="name"><%- __('categories') %></span>
</div>
<% } %>
<% if (site.tags && site.tags.length > 0) { %>
<div class="statis">
<span class="count"><a href="<%- url_for('/tags') %>"><%- site.tags.length %></a></span>
<span class="name"><%- __('tags') %></span>
</div>
<% } %>