|
prev_article.url |
|
prev_article.url is a string variable containing the URL of the article in the current category that comes chronologically before 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 Previous article if one exists. Previous article is linked to that article:
{{if prev_article.url}}
<a href="{{prev_article.url}}">Previous article</a>
{{/if}}