2019-12-03 11:37:44 +00:00
|
|
|
<!DOCTYPE html>
|
2020-03-25 02:41:27 +00:00
|
|
|
|
|
|
|
<% if (config.language){ %>
|
2020-04-15 10:10:26 +00:00
|
|
|
<html lang="<%= config.language %>">
|
2021-04-14 03:26:09 +00:00
|
|
|
<% } else { %>
|
|
|
|
<html lang="en">
|
|
|
|
<% }%>
|
|
|
|
<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 = page.category; } else if (is_tag()) { title = __('tag') + ': ' +
|
|
|
|
page.tag; } %> <% if (page.keywords){ %>
|
|
|
|
<meta
|
|
|
|
name="keywords"
|
|
|
|
content="<%= page.keywords %>,<%= config.keywords %>"
|
|
|
|
/>
|
|
|
|
<% } else if (config.keywords){ %>
|
|
|
|
<meta name="keywords" content="<%= config.keywords %>" />
|
|
|
|
<% } %> <% if (page.description){ %>
|
|
|
|
<meta name="description" content="<%= page.description %>" />
|
|
|
|
<% } else if (config.description){ %>
|
|
|
|
<meta name="description" content="<%= config.description %>" />
|
|
|
|
<% } %>
|
|
|
|
<meta
|
|
|
|
name="viewport"
|
|
|
|
content="width=device-width, initial-scale=1, maximum-scale=1"
|
|
|
|
/>
|
|
|
|
<title><% if (title){ %><%= title %> | <% } %> <%= config.title %></title>
|
|
|
|
<% if (theme.favicon){ %>
|
|
|
|
<link rel="shortcut icon" href="<%- theme.favicon %>" />
|
|
|
|
<% } %> <%- css('dist/main') %>
|
2022-02-24 03:21:40 +00:00
|
|
|
<%- css('css/fonts/remixicon') %>
|
2021-04-14 03:26:09 +00:00
|
|
|
<%- css('css/custom') %> <% if (theme.progressBar){ %>
|
2022-02-24 03:21:40 +00:00
|
|
|
<script src="https://cdn.staticfile.org/pace/1.2.4/pace.min.js"></script>
|
2023-05-29 13:37:13 +00:00
|
|
|
<% } %>
|
|
|
|
<%- partial('google-analytics') %>
|
|
|
|
<%- partial('baidu-analytics') %>
|
|
|
|
<%- partial('yandex-analytics') %>
|
2021-07-23 03:47:30 +00:00
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="https://cdn.jsdelivr.net/npm/@sweetalert2/theme-bulma@5.0.1/bulma.min.css"
|
|
|
|
/>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.19/dist/sweetalert2.min.js"></script>
|
|
|
|
|
2021-04-14 03:26:09 +00:00
|
|
|
<!-- mermaid -->
|
|
|
|
<% if (theme.mermaid.enable) { %>
|
|
|
|
<script src="<%= theme.mermaid.cdn %>"></script>
|
|
|
|
<% } %>
|
2021-07-23 03:47:30 +00:00
|
|
|
<style>
|
|
|
|
.swal2-styled.swal2-confirm {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
</style>
|
2021-04-14 03:26:09 +00:00
|
|
|
</head>
|
|
|
|
</html>
|
|
|
|
</html>
|