Description: Used to get the next document data
Usage:{% nextArchive 变量名称 %}If the variable is defined as next{% nextArchive next %}...{% endnextArchive %}
nextArchive does not support parameters.
nextArchive supports the following fields:
- Document ID
Id - Document title
Title - Document link
Link - Document keyword
Keywords - Document description
Description - Document Category ID
CategoryId - Document Views
Views - Document cover first image
Logo - Document cover thumbnail
Thumb - Document comment count
CommentCount - Document add time
CreatedTime - Document Update Time
UpdatedTime
Code example
{% nextArchive next %}
下一篇:
{% if next %}
<a href="{{next.Link}}">{{next.Title}}</a>
{% else %}
没有了
{% endif %}
{% endnextArchive %}
Display image
{% nextArchive next %}
上一篇:
{% if next %}
<a href="{{next.Link}}">
<img src="{{next.Thumb}}" />
<span>{{next.Title}}</span>
</a>
{% else %}
没有了
{% endif %}
{% endnextArchive %}