织梦模板dedecms pc端首页必备调用代码
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了织梦模板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端首页必备调用代码的主要内容,如果未能解决你的问题,请参考以下文章