全局
网站名称         {dede:global.cfg_webname/}
全局templets路径 {dede:global.cfg_templets_skin/}


关键字  {dede:field.keywords/}
介绍    {dede:field.description function='html2text(@me)'/}

先截取字符串后 再 转换 为文本<meta name="description" content="{dede:field.body function='html2text(cn_substr(@me,120),@me)'/}" />

时间转换 [field:pubdate function="MyDate('m-d',@me)"/]


当前目录路径  [field:arcurl/]
当前文章标题  {dede:field.title/}

函数
屏蔽html只输出文字  {dede:field.description function='html2text(@me)'/}
字符串切割    [field:description function='cn_substr(@me,80)'/]...
                   要切割的字段名称      切割函数
字符串替换    {dede:prenext function="str_replace('','<'.'br'.' />下一篇:',@me)"/}




根据发布时间  节点14 的文章筛选 4条记录
{dede:arclist typeid='14' orderby='pubdate' row='4'}
<li><a href="[field:arcurl/]" target="_blank">[field:title/]</a></li>
{/dede:arclist}

筛选id=14的一条记录的限定
{dede:arclist orderby='pubdate' limit='0,1' typeid='14'}  第一条
{dede:arclist orderby='pubdate' limit='1,1' typeid='14'}  第二条

{dede:include filename="footer.htm"}

时间函数截取汇总
{dede:field name='pubdate' function='strftime("%Y年%m月%d日 %H:%M:%S","@me")' /}2007年1月1日 18:30:02
{dede:field name='pubdate' function='strftime("%Y-%m-%d %H:%M:%S","@me")' /}2007-1-1 18:30:02
{dede:field name='pubdate' function='strftime("%Y年%m月%d日 %H时%M分%S秒","@me")' /}2007年1月1日 18时30分02秒
{dede:field name='pubdate' function='strftime("%m-%d %H:%M:%S","@me")' /}1-1 18:30:02
{dede:field name='pubdate' function='strftime("%m-%d","@me")' /}1-1

sql 应用
{dede:sql sql=""}
<li><a href='[field:qid/]' title="[field:title/]" target="_blank">[field:title function=cn_substr(@me,30,0)/]</a></li>
{/dede:sql}

包含文件
{dede:include filename="footer.htm"/}