%
var title = page.title;
if (is_archive()) {
title = 'Archives';
if (is_month())
title += ': ' + page.year + '/' + page.month;
else if (is_year())
title += ': ' + page.year;
}
else if (is_category())
title = 'Category: ' + page.category;
else if (is_tag())
title = 'Tag: ' + page.tag;
%>
<% if (title) { %><%= title %> | <% } %><%= config.title %>
<% if (page.keywords && config.keywords){ %>
<% } else if (page.keywords) { %>
<% } else if (config.keywords) { %>
<% } %>
<% if (page.description && config.description){ %>
<% } else if (page.description) { %>
<% } else if (config.description) { %>
<% } %>
<% if (config.feed && config.feed.path){ %>
<%- feed_tag(config.feed.path, {title: config.title}) %>
<% } %>
<% if (config.import && config.import.meta){ %>
<% (config.import.meta||[]).forEach(function(item){ %>
<%- item %><% }) %>
<% } %>
<% if (theme.plugins.fancybox && theme.plugins.fancybox.css) { %>
<%- css(theme.plugins.fancybox.css) %>
<% } %>
<% if (theme.plugins.nodewaves && theme.plugins.nodewaves.css) { %>
<%- css(theme.plugins.nodewaves.css) %>
<% } %>
<% if (config.import && config.import.link){ %>
<% (config.import.link||[]).forEach(function(item){ %>
<%- item %><% }) %>
<% } %>
<% if (config.favicon) { %>
<% } %>
<% if (theme.aplayer.enable) { %>
<% } %>
<% if (config.use_cdn && theme.info && theme.info.cdn && theme.info.cdn.css && theme.info.cdn.css.style) { %>
<%- css(theme.info.cdn.css.style) %>
<% } else { %>
<%- css('style.css') %>
<% } %>
<% if (config.google_analytics_key) { %>
<% } %>
<% if (config.baidu_analytics_key) { %>
<% } %>