项目地址:http://www.freeteam.cn/
sitePath
从FreeCMS 2.4开始支持
按上下级顺序提取指定站点的所属站点。
参数 | 说明 |
id | 站点id |
sourcepath | 站点源文件目录名 |
返回值 | 说明 |
site | 站点对象,类型为数据对象site |
index | 索引 |
size | 列表长度 |
示例1
<@sitePath id="7a4d22d6-762b-46e5-895b-d62da52bf9cb" ;site>
<a href="${site.htmlpath}">${site.name}</a>
</@sitePath>