123456789101112131415161718192021222324252627282930313233343536373839 |
- <head>
- <meta charset="utf-8">
- <%- partial('google-analytics') %>
- <%
- 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, shrink-to-fit=no">
- <%- open_graph({twitter_id: theme.twitter, fb_admins: theme.fb_admins, fb_app_id: theme.fb_app_id}) %>
- <% if (config.feed) { %>
- <%- feed_tag() %>
- <% } else if (theme.rss) { %>
- <%- feed_tag(theme.rss) %>
- <% } %>
- <% if (theme.favicon){ %>
- <%- favicon_tag(theme.favicon) %>
- <% } %>
- <% if (config.highlight.enable){ %>
- <%- css('https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css') %>
- <% } %>
- <%- css('css/style') %>
- <% if (theme.fancybox){ %>
- <%- css('fancybox/jquery.fancybox.min.css') %>
- <% } %>
- </head>
|