%
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) { %>
<% } %>
<%- favicon_tag(config.favicon) %>
<%- feed_tag(config.feed.path, {title: config.title}) %>
<% if (config.import && config.import.style == true) { %>
<%- css('//cdn.jsdelivr.net/gh/xaoxuu/blog@gh-pages/style.css') %>
<% } else if (config.import && config.import.style && config.import.style.length > 0){ %>
<%- css(config.import.style) %>
<% } else { %>
<%- css('style.css') %>
<% } %>
<% if (config.import && config.import.fontawesome == true) { %>
<%- css('//cdn.jsdelivr.net/gh/xaoxuu/cdn@master/fontawesome/5.6.3/css/all.min.css') %>
<% } else if (config.import && config.import.fontawesome && config.import.fontawesome.length > 0){ %>
<%- css(config.import.fontawesome) %>
<% } else { %>
<%- css('fontawesome-free-5.6.3-web/css/all.min.css') %>
<% } %>
<% if (config.import && config.import.google_fonts && config.import.google_fonts.length > 0){ %>
<% } %>
<% if (config.baidu_analytics_key) { %>
<% } %>