说明:用于获取下一篇文档数据
使用方法:{% nextArchive 变量名称 %}
如将变量定义为 next {% nextArchive next %}…{% endnextArchive %}
nextArchive 不支持参数。
{
\(<a href="/product/15399.html" data-anchor="10088">7</a>}nextArchive 支持的字段有:</h3><ul style="text-indent: 0px; text-align: start;"><li>文档ID <span style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);"><code>Id</code></span></li><li>文档标题 <span style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);"><code>Title</code></span></li><li>文档链接 <span style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);"><code>Link</code></span></li><li>文档关键词 <span style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);"><code>Keywords</code></span></li><li>文档描述 <span style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);"><code>Description</code></span></li><li>文档分类ID <span style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);"><code>CategoryId</code></span></li><li>文档浏览量 <span style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);"><code>Views</code></span></li><li>文档封面首图 <span style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 240);"><code>Logo</code></span></li><li>文档封面缩略图 {\)1
7}
Thumb
文档评论数量 CommentCount
文档添加时间 CreatedTime
文档更新时间 UpdatedTime
代码示例
{% nextArchive next %}
下一篇:
{% if next %}
<a href=“{{next.Link}}”>{{next.Title}}</a>
{% else %}
没有了
{% endif %}
{% endnextArchive %}
显示图片
{$2
7}
{% nextArchive next %}
上一篇:
{% if next %}
<a href=“{{next.Link}}”>
<img src="{{next.Thumb}}" />
<span>{{next.Title}}</span>
</a>
{% else %}
没有了
{% endif %}
{% endnextArchive %}