<% if(is_home() || is_category() || is_archive() || is_tag()) { var isPostList = true; } else { var isPostList = false; } %>
<% if((!isPostList && post.music && post.music.enable != false) || (isPostList && post.music && post.music.enable != false)){ %> <%- partial('../_third-party/aplayer', {aplayer_theme: '', aplayer_mini: true, aplayer_mode: 'circulation', aplayer_server: post.music.server, aplayer_type: post.music.type, aplayer_id: post.music.id, aplayer_volume: '0.7', aplayer_autoplay: false }) %> <% } %>
<% if(isPostList){ %>

<% if(post.title){ %> <%= post.title %> <% } else if (post.date) { %> <%= date(post.date, config.date_format) %> <% } %>

<% } else { %> <% if(post.title){ %>

<%= post.title %>

<% } else if (post.date) { %>

<%= date(post.date, config.date_format) %>

<% } %> <% } %> <% if(post.date && (!post.meta || post.meta.date != false)){ %> <% } %> <% if(post.categories && (!post.meta || post.meta.categories != false)){ %> <%- partial('categories',{post:post}) %> <% } %> <% if(!isPostList && theme.services && (!post.meta || post.meta.counter != false)){ %> <% if (theme.services.leancloud_visitors == true && config.leancloud_visitors && config.leancloud_visitors.app_id && config.leancloud_visitors.app_key) { %>
 
<% } else if (theme.services.busuanzi == true) { %>
 
<% } %> <% } %> <% if(isPostList && post.top && (!post.meta || post.meta.top != false)){ %>
 <%- post.top != true ? post.top : __('post.top') %>
<% } %>