Description: Used to obtain the next document data
How to use:{% nextArchive 变量名称 %}
If you define a variable as next{% nextArchive next %}...{% endnextArchive %}
nextArchive does not support parameters.
NextArchive supports fields:
- Document ID
Id
- Document title
Title
- Document link
Link
- Document keywords
Keywords
- Document description
Description
- Document Classification ID
CategoryId
- Document view count
Views
- First image of the document cover
Logo
- Document cover thumbnail
Thumb
- Number of document comments
CommentCount
- Document addition time
CreatedTime
- Document update time
UpdatedTime
Code Example
{% nextArchive next %}
下一篇:
{% if next %}
<a href="{{next.Link}}">{{next.Title}}</a>
{% else %}
没有了
{% endif %}
{% endnextArchive %}
Show pictures
{% nextArchive next %}
上一篇:
{% if next %}
<a href="{{next.Link}}">
<img src="{{next.Thumb}}" />
<span>{{next.Title}}</span>
</a>
{% else %}
没有了
{% endif %}
{% endnextArchive %}