首页 > CMS建站 > Z-Blog > 正文

Z-Blog文章列表区标签与特殊标签说明

2020-02-16 10:43:55
字体:
来源:转载
供稿:网友
关键字描述:标签 说明 特殊 文章 < default.html catalog.html

文章列表区

多页排列的分页条:

<#template:pagebar#>:由default.html和catalog.html引用

<#pagebar/page/url#>:在b_pagebar.html中定义和修改

<#pagebar/page/number#>:在b_pagebar.html中定义和修改

只有“前一页”和“后一页”的分页条:

<#template:pagebar_next#>:由default.html和catalog.html引用

<#template:pagebar_previous#>:由default.html和catalog.html引用

只由catalog.html使用的标签:

<#articlelist/author/id#>

<#articlelist/tags/id#>

<#articlelist/category/id#>

<#articlelist/date/year#>

<#articlelist/date/month#>

<#articlelist/date/day#>

<#articlelist/date/shortdate#>

由default.html和catalog.html使用的标签:

<#articlelist/page/now#>

<#articlelist/page/all#>


特殊的标签

<#BLOG_CREATE_TIME#>:文件生成时的当前时间,可以放在default.html,single.html等页

<#BlogTitle#>:当前页的标题

如果在default.html就是BLOG的子标题,在single.html就是文章的标题,在catalog.html就是相关分类等的名称,等等

其他类.

ConstZC_CONTENT_MAX=1000'留言最长字数

ConstZC_TB_EXCERPT_MAX=250'自动截取摘要的字数(当摘要为空时有效)

ConstZC_RECENT_COMMENT_WORD_MAX=16'侧边栏中留言,评论,引用每条显示字数,超过则截前14(16-2)字 "..."

ConstZC_TEMPLATE_DIRECTORY="template"'模板文件的目录,默认为TEMPLATE(不分大小写)

ConstZC_UPLOAD_DIRECTORY="upload"'上传附件的目录


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表

图片精选