diff options
| author | Eltrac Koalar <hi@guhub.cn> | 2022-08-17 18:22:15 +0800 |
|---|---|---|
| committer | Eltrac Koalar <hi@guhub.cn> | 2022-08-17 18:22:15 +0800 |
| commit | 8397da1bb9bdc90802778f7384eebaf8fe8b0a1e (patch) | |
| tree | 549c776386d8cf227d3a9e585d6f6b5685f6abac /includes/header.php | |
| parent | afc010cd43406bbc6c79d40e93c06970c0098022 (diff) | |
:arrow_heading_up: Perf: 把 link 标签放到它该在的地方
Diffstat (limited to 'includes/header.php')
| -rw-r--r-- | includes/header.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/includes/header.php b/includes/header.php index 3cca2b7..fba82bb 100644 --- a/includes/header.php +++ b/includes/header.php @@ -44,10 +44,8 @@ } </style> - <!--[if lt IE 9]> - <script src="//cdn.jsdelivr.net/gh/aFarkas/html5shiv@latest/dist/html5shiv.min.js"></script> - <script src="//cdn.jsdelivr.net/gh/scottjehl/Respond@latest/dest/respond.min.js"></script> - <![endif]--> + <!-- 移动端适配 --> + <link rel="stylesheet" href="<?php $this->options->themeUrl('assets/compatible.css'); ?>"> <?php $this->header(); ?> </head> @@ -57,8 +55,7 @@ <div class="browsehappy" role="dialog"><?php _e('当前网页 <strong>不支持</strong> 你正在使用的浏览器. 为了正常的访问, 请 <a href="http://browsehappy.com/">升级你的浏览器</a>'); ?>.</div> <![endif]--> -<!-- 移动端适配 --> -<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/compatible.css'); ?>"> + <!-- 也显示出一遍正常标题来以便适配移动端 --> <div style="display:none" class="compatible"> |
