<% var siteTitle = page.title; var keywords = page.keywords ? page.keywords : config.keywords; var description = ""; if (is_archive()) { siteTitle = __('archives'); if (is_month()) { siteTitle += ' | ' + page.year + '/' + page.month; } else if (is_year()) { siteTitle += ' | ' + page.year; } } else if (is_category()) { siteTitle = __('categories') + ' | ' + page.category; } else if (is_tag()) { siteTitle = __('tags') + ' | ' + page.tag; } if (page.description) { description = page.description; } else if (page.content) { description = strip_html(page.content); } else { description = config.description; } description = description.substring(0, 200).replace(/^\s+|\s+$/g, ''); %> <% if (siteTitle){ %><%= __(siteTitle.toLowerCase()) %> | <% } %><%= config.title %><% if (is_home()){ %> | <%= config.subtitle %><% } %> <% if (is_post() || is_page()) { %> <% } %>