标签使用文档

基础标签

ZBlog模板系统提供了丰富的模板标签,用于构建网站页面。以下是常用标签的详细说明:

文章标签

  • {$article.Title} - 显示文章标题
  • {$article.Content} - 显示文章内容
  • {$article.Intro} - 显示文章摘要
  • {$article.PostTime} - 显示发布时间

分页标签

  • {$pagebar.PageCount} - 每页显示数量
  • {$pagebar.PageNow} - 当前页码
  • {$pagebar.PageAll} - 总页数

模块标签

  • {module:navbar} - 导航栏模块
  • {module:footer} - 页脚模块