% if (page.meta !== false) { %>
<% if (theme.post.meta.author && theme.post.meta.author.enable && (page.author || config.author)) { %>
<%- page.author || config.author %>
<% } %>
<% if (theme.post.meta.date.enable) { %>
<% } %>
<% if (theme.post.meta.wordcount.enable) { %>
<% if (theme.post.meta.wordcount.format) { %>
<%- theme.post.meta.wordcount.format.replace('{}', wordcount(page)) %>
<% } else { %>
<%- __('post.meta.wordcount', wordcount(page)) %>
<% } %>
<% } %>
<% if (theme.post.meta.min2read.enable) { %>
<% var awl = parseInt(theme.post.meta.min2read.awl, 10) %>
<% var wpm = parseInt(theme.post.meta.min2read.wpm, 10) %>
<% if (theme.post.meta.min2read.format) { %>
<%- theme.post.meta.min2read.format.replace('{}', min2read(page, { awl: awl, wpm: wpm })) %>
<% } else { %>
<%- __('post.meta.min2read', min2read(page, { awl: awl, wpm: wpm })) %>
<% } %>
<% } %>
<% var views_texts = (theme.post.meta.views.format || __('post.meta.views')).split('{}') %>
<% if (theme.post.meta.views.enable && views_texts.length >= 2) { %>
<% if (theme.post.meta.views.source === 'leancloud') { %>
<%- views_texts[0] %><%- views_texts[1] %>
<% import_js(theme.static_prefix.internal_js, 'leancloud.js', 'defer') %>
<% } else if (theme.post.meta.views.source === 'busuanzi') { %>
<%- views_texts[0] %><%- views_texts[1] %>
<% import_js(theme.static_prefix.busuanzi, 'busuanzi.pure.mini.js', 'defer') %>
<% } %>
<% } %>
<% } %>