根据seo 要求,怎加 head 标签
This commit is contained in:
@@ -2,14 +2,26 @@
|
||||
|
||||
<head>
|
||||
{block name="get-data"}{/block}
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta http-equiv="Cache-Control" content="no-cache,must-revalidate">
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||||
{// 移动端适配 }
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="applicable-device" content="pc">
|
||||
<meta http-equiv="Cache-Control" content="no-transform">
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||||
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
|
||||
{// 移动端 APP 样式,主要是移动端体验,对 SEO 没直接影响 }
|
||||
<meta name="format-detection" content="telephone=no,email=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<link rel="apple-touch-icon" href="/template/default/img/favicon.ico">
|
||||
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
||||
<meta name="theme-color" content="#000000">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<!-- <link rel="manifest" href="/manifest.json"> -->
|
||||
{// 搜索引擎收录控制 }
|
||||
<meta name="robots" content="index, follow">
|
||||
|
||||
<title>{block name="title"}{/block}</title>
|
||||
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
||||
<meta name="description" content='{block name="description"}{/block}'>
|
||||
@@ -20,6 +32,7 @@
|
||||
|
||||
<link rel="shortcut icon" href="/template/default/img/favicon.ico" type="image/x-icon">
|
||||
<link href="/public/layer/need/layer.css" rel="stylesheet">
|
||||
<link href='/template/default/pc/css/style.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}' rel="preload" type="text/css">
|
||||
<link href='/template/default/pc/css/style.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}' rel="stylesheet" type="text/css">
|
||||
{block name="meta-other"}{/block}
|
||||
{block name="head"}{/block}
|
||||
|
||||
Reference in New Issue
Block a user