修改head meta 防蜘蛛抓取

master
ELF 5 years ago
parent 13c352a924
commit d5d7dcca6d

@ -9,6 +9,7 @@
<if condition="ACTION_NAME eq index and CONTROLLER_NAME eq Index"> <if condition="ACTION_NAME eq index and CONTROLLER_NAME eq Index">
<title>{:seo_replace(C('channel_index.seo_title'),'','channel')}_{:C('CH_SET_TITLE')}</title> <title>{:seo_replace(C('channel_index.seo_title'),'','channel')}_{:C('CH_SET_TITLE')}</title>
<meta name="description" content="首页 登录 欢迎您回来!"/> <meta name="description" content="首页 登录 欢迎您回来!"/>
<meta name="robots" content="noarchive">
<meta property="og:description" content="首页 登录 欢迎您回来!"/> <meta property="og:description" content="首页 登录 欢迎您回来!"/>
<meta property="og:title" content="{:seo_replace(C('channel_index.seo_title'),'','channel')}_{:C('CH_SET_TITLE')}"/> <meta property="og:title" content="{:seo_replace(C('channel_index.seo_title'),'','channel')}_{:C('CH_SET_TITLE')}"/>
<meta property="og:image" content="{:get_cover(C('CH_SET_ICO'),'path')}"/> <meta property="og:image" content="{:get_cover(C('CH_SET_ICO'),'path')}"/>

@ -2,6 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="robots" content="noarchive">
<title>{$meta_title}</title> <title>{$meta_title}</title>
<link href="__CSS__/20170831/iconfont.css" rel="stylesheet" type="text/css"> <link href="__CSS__/20170831/iconfont.css" rel="stylesheet" type="text/css">
<link href="__CSS__/20170831/select2.min.css" rel="stylesheet" type="text/css" /> <link href="__CSS__/20170831/select2.min.css" rel="stylesheet" type="text/css" />

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<meta name="robots" content="noarchive">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{$meta_title}-个人中心</title> <title>{$meta_title}-个人中心</title>
<link href="__CSS__/20170831/iconfont.css" rel="stylesheet" type="text/css"> <link href="__CSS__/20170831/iconfont.css" rel="stylesheet" type="text/css">

@ -2,6 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="robots" content="noarchive">
<title>{$meta_title}-个人中心</title> <title>{$meta_title}-个人中心</title>
<link href="__CSS__/20170831/iconfont.css" rel="stylesheet" type="text/css"> <link href="__CSS__/20170831/iconfont.css" rel="stylesheet" type="text/css">
<link href="__CSS__/20170831/select2.min.css" rel="stylesheet" type="text/css" /> <link href="__CSS__/20170831/select2.min.css" rel="stylesheet" type="text/css" />

Loading…
Cancel
Save