PbootCMS教程
PbootCMS教程
PbootCMS教程_新手入门_视频教程_开发文档_开发手册_二次开发

pbootcms基本调用标签大全tkd

发布时间: 访问量:285

首页tkd

<title>{pboot:sitetitle}</title>
<meta name="keywords" content="{pboot:sitekeywords}">
<meta name="description" content="{pboot:sitedescription}">

栏目页tkd

<title>{pboot:if('{sort:title}'=='')}{pboot:pagetitle}{else}{sort:title}{/pboot:if}</title>
<meta name="keywords" content="{pboot:if('{sort:keywords}'=='')}{pboot:pagekeywords}{else}{sort:keywords}{/pboot:if}">
<meta name="description" content="{pboot:if('{sort:description}'=='')}{pboot:pagedescription}{else}{sort:description}{/pboot:if}">

内页tkd

<title>{content:title}-{pboot:sitetitle}</title>
<meta name="keywords" content="{content:keywords}">
<meta name="description" content="{content:description}">

列表时间格式化[list:date style=Y-m-d]、内容详情页时间格式化{content:date style=Y-m-d}

 

栏目列表里调用当前栏目名称和链接

栏目名称:[list:sortname]

链接:[list:sortlink]

当前位置:{pboot:position}

 

访问数量:{content:visits}

内容:{content:content}

作者:{content:author}

标题:{content:title}

发布时间:{content:date style=Y-m-d}

来源:{content:source}

 

搜索 <strong>{pboot:keyword}</strong> 的结果

 

起始数据 start=* 起始数据(V1.3.2+)


更多文章