Vrlog模板标签说明

Vrlog官网挂了,转过来备用。 

以templates\themes\default为例

以 <{开头  }> 结尾 的标签都是模板标签 在制作HTML的时候保留

header.html

<{$titlecatname}> 标题栏分类名
<{$titlepostname}> 标题栏文章名
<{$sitename}> 网站名称
<{$keywords}> 网站关键词
<{$description}> 网站简介
<{$siteurl}> 网站地址
<{$themes}> 模板目录
<{$caption}> 网站小标题
<{$topad}> 顶部广告

index.html

<{section name=loop loop=$post_show}> ……<{/section}> 文章循环
<{$ttpage}> 分页标签

sidebar.html

<{foreach item=a from=$showpostcname}>……<{/foreach}> 分类列表循环
<{section name=loop loop=$autolinks_list}>……<{/section}> 友情链接
<{$categoryad}> 分类广告标签

Leave a Reply

You must be logged in to post a comment.