package
0.0.0-20240820020254-8da9a784a9fc
Repository: https://github.com/xiusin/pinecms.git
Documentation: pkg.go.dev

# Functions

* 广告标签 {{yield adlist(id=3, pos="首页banner图")}} 返回一组广告 */.
No description provided by the author
* typeid = "son | top | self" top: 顶级栏目 : parentid 为 0 son: 父id 为 reid的下级分类 self: 同级 父ID为reid的同级栏目 row = "10" 调用数量 channel(typeid, reid, type, row) */.
* sons 是否附带直属子分类数据, 可用于下级数据的迭代, 可取代channel的sun功能 active 是否附带当前活动状态逻辑, 一般用于下级菜单激活上级菜单的高亮样式 topid 记录当前所处页面的tid {{channellist = channelartlist(typeid, row, topid, sons, active)}} */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* 广告标签 {{yield myad(id="", name="")}} 返回一组广告 */.
* {{pagelist(row, .TypeID, .ArtCount, .PageNum, .QP) | unsafe}} */.
* * 标签:{{yield position() }} * 作用:获取当前页面面包屑只可适用于列表页和详情页 */.
* * 标签:{{yield query(sql="") content}} {{end}} * 作用:特殊标签,SQL查询标签 * 用法示例: {{yield query(sql="SELECT * FROM #@_tables") content}} .
No description provided by the author
* * 标签:{{yield toptype() content}}{{field.Catname}}{{end}} * 作用:获取当前页面面包屑只可适用于列表页和详情页 */.
No description provided by the author