說明:用于獲取下一篇文檔數(shù)據(jù)
使用方法:{% nextArchive 變量名稱 %}
如將變量定義為 next {% nextArchive next %}...{% endnextArchive %}
nextArchive
不支持參數(shù)。
Id
Title
Link
Keywords
Description
CategoryId
Views
Logo
Thumb
CommentCount
CreatedTime
UpdatedTime
{% nextArchive next %}
下一篇:
{% if next %}
<a href="{{next.Link}}">{{next.Title}}</a>
{% else %}
沒有了
{% endif %}
{% endnextArchive %}
{% nextArchive next %}
上一篇:
{% if next %}
<a href="{{next.Link}}">
<img src="{{next.Thumb}}" />
<span>{{next.Title}}</span>
</a>
{% else %}
沒有了
{% endif %}
{% endnextArchive %}