Z-Blog Wiki Z-Blog Wiki

Z-Blog官方文库

用户工具

站点工具


zblogphp:development:theme:template

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
zblogphp:development:theme:template [2017/02/28 22:19]
yszm [文章标签(含独立页面)]
zblogphp:development:theme:template [2020/12/06 17:17]
唐朝
行 2: 行 2:
  
  
-[[zblogphp:​development:​theme:​首页]] 目录下 **template** 文件夹是专门放置模板文件的。+[[zblogphp:​development:​theme:​首页]] 目录下 ​\**zb_users**\**主题名**\**template** 文件夹是专门放置模板文件的。
  
 :!: //Z-BlogPHP 1.5之前的版本,在主题目录下会有一个**compile**文件夹,这里存放经过程序编译后的模板文件,请不要去修改。//​ :!: //Z-BlogPHP 1.5之前的版本,在主题目录下会有一个**compile**文件夹,这里存放经过程序编译后的模板文件,请不要去修改。//​
行 100: 行 100:
 | {$article.ID} ​               | 文章ID ​   |                           | | {$article.ID} ​               | 文章ID ​   |                           |
 | {$article.Title} ​            | 文章标题 ​   |                           | | {$article.Title} ​            | 文章标题 ​   |                           |
-| {$article.Alias} ​            | 文章标题 ​   |                           ​|+| {$article.Alias} ​            | 文章标题别名 ​   ​| ​未设置则等同于Title ​                         ​|
 | {$article.IsTop} ​            | 文章是否置顶 ​ |                           | | {$article.IsTop} ​            | 文章是否置顶 ​ |                           |
 | {$article.Intro} ​            | 文章摘要 ​   |                           | | {$article.Intro} ​            | 文章摘要 ​   |                           |
 | {$article.Content} ​          | 文章正文 ​   |                           | | {$article.Content} ​          | 文章正文 ​   |                           |
 +| {$article.FirstImg} ​         | 文章第一张图片 ​   | 该图为文章中的第一张图片(1.7版添加) ​      |
 +| {$article.Thumb} ​            | 文章第一张图片的缩略图 ​ | 该图为文章中第一张图片的缩略图,生成的缩略图尺寸请到后台【网站设置】【全局设置】中配置(1.7版添加) ​     |
 | {$article.Url} ​              | 文章链接 ​   |                           | | {$article.Url} ​              | 文章链接 ​   |                           |
 | {$article.Status} ​           | 文章状态 ​   |                           | | {$article.Status} ​           | 文章状态 ​   |                           |
行 167: 行 169:
 |{$author.Alias} |用户别名 |   | |{$author.Alias} |用户别名 |   |
 |{$author.StaticName} |用户静态名 |存在别名时调用别名,不存在则调用用户名 ​  | |{$author.StaticName} |用户静态名 |存在别名时调用别名,不存在则调用用户名 ​  |
-|{$author.Level} |用户级别 | |+|{$author.Level} |用户级别 ​|数值 | 
 +|{$author.LevelName} |用户级别名 ​| |
 |{$author.Email} |用户邮箱 |    | |{$author.Email} |用户邮箱 |    |
 |{$author.HomePage} |用户主页 |   | |{$author.HomePage} |用户主页 |   |
zblogphp/development/theme/template.txt · 最后更改: 2021/09/01 12:50 (外部编辑)