首页调用:
<title>{dede:global.cfg_webname/}</title>
<meta name=”description” content=”{dede:global.cfg_description/}” />
<meta name=”keywords” content=”{dede:global.cfg_keywords/}” />
——————————————————————————–
列表页调用:
<title>{dede:field.seotitle /}</title>
<meta name=”keywords” content=”{dede:field name=’keywords’/}” />
<meta name=”description” content=”{dede:field name=’description’ function=’html2text(@me)’/}” />
——————————————————————————–
内容页调用:
<title>{dede:field.array runphp=’yes’} if(@me['seotitle']==”) {@me=@me['title'];}else{@me=@me['seotitle'];}{/dede:field.array}_{dede:global.cfg_webname/}{dede:field.seotitle /}</title>
<meta name=”keywords” content=”{dede:field.keywords/}” />
<meta name=”description” content=”{dede:field.description function=’html2text(@me)’/}” />
——————————————————————————–
频道页调用:
<title>{dede:field.seotitle /}</title>
<meta name=”keywords” content=”{dede:field name=’keywords’/}” />
<meta name=”description” content=”{dede:field name=’description’ function=’html2text(@me)’/}” />
{dede:channelartlist row=’8′}
<div>
<h3><samp><a href=”{dede:field name=’typeurl’/}”><img src=”/templets/ml2/images/tj-pd2.jpg” width=”37″ height=”11″ /></a></samp><a href=”{dede:field name=’typeurl’/}”>{dede:field name=’typename’/}</a></h3>
<div>
{dede:arclist row=’1′ type=’image.’ imgwidth=126 imgheight=90 orderby=’pubdate’}
<p>[field:imglink/]</p>
{/dede:arclist}
{dede:arclist titlelen=’20′ row=’1′ orderby=’pubdate’}
<div>
<h3><a href=”[field:arcurl /]“ target=”_blank” title=”[field:fulltitle/]“>[field:title /]</a></h3>
<p>[field:description function="cn_substr( ——————————————————————————–
作者链接调用标签: [field:writer /]
——————————————————————————–
列表点击调用标签: [field:click/]
——————————————————————————–
列表评论调用标签: [field:postnum/]
——————————————————————————–
转载请注明:DEDEcms» dede仿站标签大全快速提高仿站速度