Next document tags

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 IDId
  • Document titleTitle
  • Document linkLink
  • Document keywordsKeywords
  • Document descriptionDescription
  • Document Classification IDCategoryId
  • Document view countViews
  • First image of the document coverLogo
  • Document cover thumbnailThumb
  • Number of document commentsCommentCount
  • Document addition timeCreatedTime
  • Document update timeUpdatedTime


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 %}