|
1 | 1 | <head> |
2 | 2 | <meta charset="utf-8"> |
3 | 3 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
4 | | - <meta name="keywords" content="<%= page?.keywords || config?.keywords || 'Hexo Theme Keep' %>"> |
5 | | - <meta name="description" content="<%= page?.description || config?.description || 'Hexo Theme Keep' %>"> |
6 | | - <meta name="author" content="<%= theme?.base_info?.author || config?.author || 'Keep Team' %>"> |
| 4 | + <meta name="keywords" content="<%= page?.keywords || config?.keywords || '技术博客,后端开发,编程笔记,生活' %>"> |
| 5 | + <meta name="description" content="<%= page?.description || config?.description || 'Code | Systems | Life — 专注编程本质,也关心世界如何运转。' %>"> |
| 6 | + <meta name="author" content="<%= theme?.base_info?.author || config?.author || '咕咕咕' %>"> |
| 7 | + |
7 | 8 | <% |
8 | 9 | let title = page.title; |
9 | 10 | if (is_archive()) { |
|
44 | 45 | <% } %> |
45 | 46 | <%- exportThemeConfig() %> |
46 | 47 |
|
47 | | - <!-- Google tag (gtag.js) --> |
48 | | - <script async src="https://www.googletagmanager.com/gtag/js?id=G-CLX32WF4R1"></script> |
49 | | - <script> |
50 | | - window.dataLayer = window.dataLayer || []; |
51 | | - function gtag(){dataLayer.push(arguments);} |
52 | | - gtag('js', new Date()); |
| 48 | + <!-- Google tag (gtag.js) --> |
| 49 | + <script async src="https://www.googletagmanager.com/gtag/js?id=G-CLX32WF4R1"></script> |
| 50 | + <script> |
| 51 | + window.dataLayer = window.dataLayer || []; |
53 | 52 |
|
54 | | - gtag('config', 'G-CLX32WF4R1'); |
55 | | - </script> |
| 53 | + function gtag() { |
| 54 | + dataLayer.push(arguments); |
| 55 | + } |
56 | 56 |
|
57 | | - <!-- 51.la --> |
58 | | - <script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script> |
59 | | - <script>LA.init({id:"3JwPz6wbAloyTmMc",ck:"3JwPz6wbAloyTmMc",autoTrack:true})</script> |
| 57 | + gtag('js', new Date()); |
60 | 58 |
|
61 | | -</head> |
| 59 | + gtag('config', 'G-CLX32WF4R1'); |
| 60 | + </script> |
62 | 61 |
|
| 62 | + <!-- 51.la --> |
| 63 | + <script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script> |
| 64 | + <script>LA.init({id: "3JwPz6wbAloyTmMc", ck: "3JwPz6wbAloyTmMc", autoTrack: true})</script> |
| 65 | +
|
| 66 | +</head> |
0 commit comments