|
17 | 17 | <?php if ($this->options->favicon): ?> |
18 | 18 | <link href="<?php $this->options->favicon(); ?>" rel="shortcut icon" /> |
19 | 19 | <?php else: ?> |
20 | | - <link href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]/images/icon.ico" rel="shortcut icon" /> |
21 | | - <?php endif; ?> |
22 | | - <?php if ($this->options->themeAutoDark === 'enable'): ?> |
23 | | - <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]/assets/js/match-dark-mode.min.js"></script> |
| 20 | + <link href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]/images/icon.ico" rel="shortcut icon" /> |
24 | 21 | <?php endif; ?> |
25 | 22 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/ [email protected]/css/all.min.css" /> |
26 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 20/assets/css/main.min.css" /> |
| 23 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 21/assets/css/main.min.css" /> |
27 | 24 | <?php |
28 | 25 | if ($_COOKIE['latest-prefers-color-scheme']) { |
29 | 26 | setcookie('latest-prefers-color-scheme', $_COOKIE['latest-prefers-color-scheme'], time() + 60 * 60 * 24 * 365, '/'); |
30 | 27 | } |
31 | 28 | ?> |
32 | 29 | <?php if ($this->options->themeAutoDark === 'enable' && $_COOKIE['latest-prefers-color-scheme'] === 'dark'): ?> |
33 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 20/assets/css/black.min.css" /> |
| 30 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 21/assets/css/black.min. css" id="theme-css" /> |
34 | 31 | <?php elseif ($this->options->themeColor == '0'): ?> |
35 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 20/assets/css/gray.min.css" /> |
| 32 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 21/assets/css/gray.min. css" id="theme-css" /> |
36 | 33 | <?php elseif ($this->options->themeColor == '1'): ?> |
37 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 20/assets/css/white.min.css" /> |
| 34 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 21/assets/css/white.min. css" id="theme-css" /> |
38 | 35 | <?php elseif ($this->options->themeColor == '2'): ?> |
39 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 20/assets/css/green.min.css" /> |
| 36 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 21/assets/css/green.min. css" id="theme-css" /> |
40 | 37 | <?php elseif ($this->options->themeColor == '3'): ?> |
41 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 20/assets/css/black.min.css" /> |
| 38 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 21/assets/css/black.min. css" id="theme-css" /> |
42 | 39 | <?php else: ?> |
43 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 20/assets/css/gray.min.css" /> |
| 40 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 21/assets/css/gray.min. css" id="theme-css" /> |
44 | 41 | <?php endif; ?> |
45 | 42 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ [email protected]/dist/css/bootstrap.min.css" /> |
46 | 43 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ [email protected]/dist/jquery.fancybox.min.css" /> |
|
52 | 49 | <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ [email protected]/dist/umd/popper.min.js"></script> |
53 | 50 | <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ [email protected]/dist/js/bootstrap.min.js"></script> |
54 | 51 | <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@fancyapps/ [email protected]/dist/jquery.fancybox.min.js"></script> |
55 | | - <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 20/assets/js/jQuery.scrollLoad.min.js"></script> |
| 52 | + <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 21/assets/js/jQuery.scrollLoad.min.js"></script> |
56 | 53 | <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ [email protected]/jquery.pjax.min.js"></script> |
57 | 54 | <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ [email protected]/dist/OwO.min.js"></script> |
58 | 55 | <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ [email protected]/dist/console-ban.min.js"></script> |
|
66 | 63 | <?php if ($this->options->logo): ?> |
67 | 64 | <img class="user-avatar" src="<?php $this->options->logo(); ?>" alt="头像" /> |
68 | 65 | <?php else: ?> |
69 | | - <img class="user-avatar" src="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 20/images/avatar.png" alt="头像" /> |
| 66 | + <img class="user-avatar" src="https://cdn.jsdelivr.net/gh/yanranxiaoxi/ [email protected]. 21/images/avatar.png" alt="头像" /> |
70 | 67 | <?php endif; ?> |
71 | 68 | <div class="site-name gt-c-content-color-first"> |
72 | 69 | <?php $this->options->title(); ?> |
|
0 commit comments