<% if(config.author){ %> <% } %> <% if(config.subtitle){ %> <% } %> <% if(config.description){ %> <% } %> <% if(config.keywords){ %> <% } %> <% var title = page.title; if (is_archive()){ title = __('archive_a'); 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 %> <%# favicon %> <% if (theme.favicon){ %> <% } %> <%# css list %> <% if (theme.stylesheets !== undefined && theme.stylesheets.length > 0) { %> <% theme.stylesheets.forEach(url => { %> <% }); %> <% } %> <%# javascript list %> <% if (theme.scripts !== undefined && theme.scripts.length > 0) { %> <% theme.scripts.forEach(url => { %> <% }); %> <% } %> <%# mathjax support %> <% if(theme.mathjax.enable!==null&&theme.mathjax.enable===true){ %> <%# import mathjax method: global or demand %> <% if(theme.mathjax.import === 'global'){ %> <%- partial('_plugins/mathjax.ejs') %> <% } else if(theme.mathjax.import === 'demand'){ %> <% if (page.mathjax){ %> <%- partial('_plugins/mathjax.ejs') %> <% } %> <% } %> <% } %>