%
var title = page.title;
if (is_archive()) {
title = __('sidebar.archive');
if (is_month()) {
title += ': ' + page.year + '/' + page.month;
}
else if (is_year()) {
title += ': ' + page.year;
}
}
else if (is_category()) {
title = __('title.category') + ': ' + page.category;
}
else if (is_tag()) {
title = __('title.tag') + ': ' + page.tag;
}
%>
<% if (title) { %>
<%= title + ' | ' %>
<% } %>
<%= config.title %>
<% if(theme.materialcdn.use === true) { %>
<%}%>
<% if(theme.leancloud.enable === true) { %>
<% } %>
<% if(theme.comment.use == "changyan"){ %>
<% } %>
<% if(theme.analytics.use === "baidu") { %>
<% } %>
<% if(theme.analytics.use === "google") { %>
<% } %>
<% if(theme.analytics.use === "cnzz") { %>
<% } %>
<% if(theme.busuanzi.enable === true) { %>
<% } %>
<% if(theme.fonts.host === "google") { %>
<% } %>
<% if(theme.fonts.host === "baomitu") { %>
<% } %>
<% if(theme.qrcode.use === "online" && theme.qrcode.enable === "true") { %>
<% } %>
<% if(theme.head.site_verification.google) { %><% } %>
<% if(theme.head.site_verification.baidu) { %><% } %>
<% if(page.tags && page.tags.each) { page.tags.each(function(tag){ %> <% })} %>
<% if( (is_post()) ) { %>
<% } %>
<% if( (page.current === 1) && (is_home()) ) { %>
<% } else { %>
<% } %>
<% if(theme.head.structured_data === true) { %>
<%- partial('_partial/structured-data') %>
<% } %>
<% if(theme.materialcdn.use === true) { %>
<%- cssLsload({path:(theme.materialcdn.base + '/css/material.min.css'),key:'css/material.min.css'}) %>
<%- cssLsload({path:(theme.materialcdn.base + '/css/style.min.css'),key:'css/style.min.css'}) %>
<% if(theme.scheme === 'Isolation') { %>
<%- cssLsload({path:(theme.materialcdn.base + '/css/fontawesome.min.css'),key:'css/fontawesome.min.css'}) %>
<% } %>
<% if(theme.scheme === 'Paradox') { %>
<%- partial('_partial/config_footer') %>
<% } %>
<%- partial('_partial/config_css') %>
<%- jsLsload({path:(theme.materialcdn.base + '/js/jquery.min.js'),key:'js/jquery.min.js'}) %>
<%}else{%>
<%- cssLsload('css/material.min.css') %>
<%- cssLsload('css/style.min.css') %>
<% if(theme.scheme === 'Isolation') { %>
<%- cssLsload('/css/fontawesome.min.css') %>
<% } %>
<% if(theme.scheme === 'Paradox') { %>
<%- partial('_partial/config_footer') %>
<% } %>
<%- partial('_partial/config_css') %>
<%- jsLsload('js/jquery.min.js') %>
<%}%>
<% if(theme.analytics.use) { %><%- partial('_widget/analytics/' + theme.analytics.use + '-analytics') %><% } %>
<% if (site.data.head) { %>
<% for (var i in site.data.head) { %>
<%- site.data.head[i] %>
<% } %>
<% } %>