next_article.url

Previous page  First page  Next page

next_article.url is a string variable containing the URL of the article in the current category that comes chronologically after this one. This is empty if there is no such article.

 

It can also be used as a boolean variable; it is true if it contains a value.

 

 

Example

 

The example below displays the phrase Next article if one exists. Next article is linked to that article:

 

{{if next_article.url}}

<a href="{{next_article.url}}">Next article</a>

{{/if}}