diff options
| author | Kurococ Liu <21096362+KurococLiu@users.noreply.github.com> | 2022-10-23 12:58:52 +0800 |
|---|---|---|
| committer | Kurococ Liu <21096362+KurococLiu@users.noreply.github.com> | 2022-10-23 12:58:52 +0800 |
| commit | f142d61f01fc57cf7befe2cc71cc8a3f8b0fdc82 (patch) | |
| tree | 6242be98d3fa0303dea38168558b8fd4ab65c04f /includes | |
| parent | d9e677d6cd90b9c868d505f5177868090dbf1842 (diff) | |
:newspaper: Add: 加入preconnect、字数统计,Readme新增公益CDN名单
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/head.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/head.php b/includes/head.php index 19f0ab2..4c02fad 100644 --- a/includes/head.php +++ b/includes/head.php @@ -3,9 +3,15 @@ <html> <head> <meta charset="<?php $this->options->charset(); ?>"> + <!-- IE 8浏览器的页面渲染方式 & 默认使用极速内核:针对国内浏览器产商 --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="renderer" content="webkit"> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> + <!-- 自适应 --> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no"> + <!-- 关闭百度转码 --> + <meta http-equiv="x-dns-prefetch-control" content="on"> + <meta http-equiv="Cache-Control" content="no-transform"> + <meta http-equiv="Cache-Control" content="no-siteapp"> <?php //设置 favicon if($this->options->favicon){ ?> <link rel="icon" type="image/x-icon" href="<?php $this->options->favicon(); ?>"> |
