2018-09-10 09:21:59 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="<%= theme.language %>">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<%
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
<title><% if (title){ %><%= title %> | <% } %><%= config.title %></title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
2018-09-16 06:37:38 +00:00
|
|
|
|
2018-09-10 09:21:59 +00:00
|
|
|
<% if (theme.rss){ %>
|
|
|
|
<link rel="alternate" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml">
|
|
|
|
<% } %>
|
|
|
|
<% if (theme.favicon){ %>
|
|
|
|
<link rel="icon" href="<%- theme.favicon %>">
|
|
|
|
<% } %>
|
|
|
|
<%- css('css/typing') %>
|
|
|
|
<%- css('css/donate') %>
|
|
|
|
<% if (theme.icons){ %>
|
|
|
|
<%- css('css/font-awesome.min.css') %>
|
|
|
|
<% } %>
|
|
|
|
</head>
|