首页 > 代码库 > 织梦模板dedecms pc端首页必备调用代码
织梦模板dedecms pc端首页必备调用代码
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>{dede:global.cfg_webname/}</title>
<meta name="description" content="{dede:global.cfg_description/}"/>
<meta name="keywords" content="{dede:global.cfg_keywords/}"/>
<link rel="canonical" href="http://axiangmixianjm.com" />
<link rel="shortcut icon" href="http://axiangmixianjm.com/favicon.ico">
<link rel="bookmark" href="http://axiangmixianjm.com/favicon.ico">
<meta http-equiv="mobile-agent" content="format=xhtml;url=http://m.axiangmixianjm.com/">
<script type="text/javascript">if(window.location.toString().indexOf(‘pref=padindex‘) != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="http://m.axiangmixianjm.com/";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>
织梦模板dedecms pc端首页必备调用代码