31 lines
846 B
Plaintext
31 lines
846 B
Plaintext
<head>
|
|
<meta charset="utf-8">
|
|
<%
|
|
let title = page.title;
|
|
if (is_archive()) {
|
|
title = __('archive');
|
|
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;
|
|
} else {
|
|
title = __(page.title);
|
|
}
|
|
%>
|
|
<title>
|
|
<% if (title){ %><%= title %> |
|
|
<% } %>
|
|
<%= theme.base_info.title || config.title || 'KEEP' %>
|
|
</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<%- favicon_tag('images/logo.svg') %>
|
|
<%- css('css/style') %>
|
|
<%- export_config() %>
|
|
</head>
|
|
|