|
1 |
| - |
2 |
| -<meta charset="utf-8" > |
3 |
| - |
4 |
| -<title><%= siteTitle %></title> |
5 |
| -<meta name="description" content="<%= themeConfig.siteDescription %>"> |
6 |
| - |
7 |
| -<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
8 |
| -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css"> |
9 |
| - |
10 |
| -<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> |
11 |
| -<link rel="shortcut icon" href="<%= themeConfig.domain %>/favicon.ico?v=<%= site.utils.now %>"> |
12 |
| -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css"> |
13 |
| -<link rel="stylesheet" href="<%= themeConfig.domain %>/styles/main.css"> |
14 |
| - |
15 |
| -<% if (typeof commentSetting !== 'undefined' && commentSetting.showComment) { %> |
16 |
| - <% if (commentSetting.commentPlatform === 'gitalk') { %> |
17 |
| - <link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css" /> |
18 |
| - <% } %> |
19 |
| -
|
20 |
| - <% if (commentSetting.commentPlatform === 'disqus') { %> |
21 |
| - <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/disqusjs.css" /> |
22 |
| - <% } %> |
23 |
| -<% } %> |
24 |
| - |
25 |
| -<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> |
26 |
| -<script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script> |
27 |
| - |
28 |
| -<% if (site.customConfig.ga) { %> |
29 |
| -<script async src="https://www.googletagmanager.com/gtag/js?id=<%= site.customConfig.ga %>"></script> |
30 |
| -<script> |
31 |
| - window.dataLayer = window.dataLayer || []; |
32 |
| - function gtag(){dataLayer.push(arguments);} |
33 |
| - gtag('js', new Date()); |
34 |
| -
|
35 |
| - gtag('config', '<%= site.customConfig.ga %>'); |
36 |
| -</script> |
37 |
| -<% } %> |
| 1 | + |
| 2 | +<meta charset="utf-8" > |
| 3 | + |
| 4 | +<title><%= siteTitle %></title> |
| 5 | +<meta name="description" content="<%= themeConfig.siteDescription %>"> |
| 6 | + |
| 7 | +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
| 8 | +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css"> |
| 9 | + |
| 10 | +<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> |
| 11 | +<link rel="shortcut icon" href="<%= themeConfig.domain %>/favicon.ico?v=<%= site.utils.now %>"> |
| 12 | +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css"> |
| 13 | +<link rel="stylesheet" href="<%= themeConfig.domain %>/styles/main.css"> |
| 14 | + |
| 15 | +<% if (typeof commentSetting !== 'undefined' && commentSetting.showComment) { %> |
| 16 | + <% if (commentSetting.commentPlatform === 'gitalk') { %> |
| 17 | + <link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css" /> |
| 18 | + <% } %> |
| 19 | +
|
| 20 | + <% if (commentSetting.commentPlatform === 'disqus') { %> |
| 21 | + <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/disqusjs.css" /> |
| 22 | + <% } %> |
| 23 | +<% } %> |
| 24 | + |
| 25 | +<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> |
| 26 | +< script src= "//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></ script> |
| 27 | + |
| 28 | +<% if (site.customConfig.ga) { %> |
| 29 | +<script async src="https://www.googletagmanager.com/gtag/js?id=<%= site.customConfig.ga %>"></script> |
| 30 | +<script> |
| 31 | + window.dataLayer = window.dataLayer || []; |
| 32 | + function gtag(){dataLayer.push(arguments);} |
| 33 | + gtag('js', new Date()); |
| 34 | +
|
| 35 | + gtag('config', '<%= site.customConfig.ga %>'); |
| 36 | +</script> |
| 37 | +<% } %> |
0 commit comments