<% 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) { %> <% } %> <%- feed_tag(config.feed.path, {title: config.title}) %> <% if (config.import && config.import.meta){ %> <% (config.import.meta||[]).forEach(function(item){ %> <% }) %> <% } %> <% if (theme.services && theme.services.nodewaves == true) { %> <% } %> <% if (config.import && config.import.link){ %> <% (config.import.link||[]).forEach(function(item){ %> type="<%= item.type %>"<% } %> <% if (item.sizes){ %> sizes="<%= item.sizes %>"<% } %> <% if (item.media){ %> media="<%= item.media %>"<% } %> <% if (item.hreflang){ %> hreflang="<%= item.hreflang %>"<% } %> <% if (item.color){ %> color="<%= item.color %>"<% } %>> <% }) %> <% } %> <% if (config.favicon) { %> <% } %> <% if (theme.services && theme.services.cdn == true && config.theme_cdn) { %> <% if (config.theme_cdn == true) { %> <%- css(theme.info.cdn + 'css/style.css') %> <% } else if (config.theme_cdn.length > 0) { %> <%- css(config.theme_cdn + 'css/style.css') %> <% } %> <% } else { %> <%- css('style.css') %> <% } %> <% if (config.import && config.import.css && config.import.css.length > 0) { %> <%- css(config.import.css) %> <% } %> <% if (config.google_analytics_key) { %> <% } %> <% if (config.baidu_analytics_key) { %> <% } %>