<title>{eyou:global name='web_title' /}_{eyou:global name='web_name' /}</title> <meta name="description" content="{eyou:global name='web_description' /}" /> <meta name="keywords" content="{eyou:global name='web_keywords' /}" />
{eyou:include file="header.htm" /}
{eyou:include file="footer.htm" /}
{eyou:arclist typeid='8' flag='c' infolen='20' titlelen='30' row='10'} <a href='{$field.arcurl}'>{$field.title}</a> {/eyou:arclist}
{$field.add_time|MyDate='Y-m-d',###}
{$field.add_time|MyDate='m-d',###}
{$field.add_time|MyDate='Y年m月d日',###}
{$eyou.field.update_time|MyDate='Y-m-d H:i:s',###}
{$field.update_time|MyDate='Y-m-d',###}
{$field.click}
{$field.title}
<a href='{$field.arcurl}'>{$field.title}</a>
{$field.aid}
list或或arclist可用{$field.aid},文章页用{$eyou.field.id}
<img src='{$field.litpic}'>
{eyou:arclist typeid='2' limit='0,3'} {$field.content|html_msubstr=###,0,11,true} {/eyou:arclist}
截取arclist标签里文档内容的前11个字符(纯文本截取,true自带省略号,否false)
{eyou:arclist typeid='2' limit='0,3'} {$field.title|msubstr=###,0,11,true} {/eyou:arclist}
截取arclist标签里文档标题的前11个字符(纯文本截取,true自带省略号,否false)
{$field.seo_description}
由{eyou:arclist infolen='10'}或{eyou:list infolen='10'}中的infolen=''控制
{eyou:arclist typeid='1' id='field'} {eyou:arcview id='field2'} {eyou:volist name="$field2.image_list" id='field3'} <img src="{$field3.image_url}" alt="{$field.intro}"> {/eyou:volist} {/eyou:arcview}
可以用于arclist和list标签
{$field.intro}为图集的描述
{eyou:type typeid='栏目id'} <a href="{$field.typeurl}">{$field.typename}</a> {/eyou:type}
{eyou:channelartlist typeid=''} {eyou:channel type="son"} {$field.typename}<!-- 二级栏目名称 --> {eyou:arclist typeid='$field.typeid'} <a href="{$field.arcurl}">{$field.title}</a> {/eyou:arclist} {/eyou:channel} {/eyou:channelartlist}
可以指定typeid=''的ID
加技术微信沟通更方便