pbootcms基本调用标签大全

6次
2023-12-19
共计1138字,阅读大约1分钟

首页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+)

 

END
免责声明:本站所有资源(模板、图片)搜集整理于互联网或者网友提供,仅供学习与交流使用,如果不小心侵犯到你的权益,请及时联系我们删除该资源。