|
prev_article.title |
|
prev_article.title is a string variable containing the title of the article in the current category that comes chronologically before this one. This is empty if the next article has no title.
It can also be used as a boolean variable; it is true if it contains a value.
Example
This displays Previous article: in bold, followed by the title of the previous article. If the article has no title, Previous article: is followed by <Untitled>:
<strong>Previous article:</strong>
{{if prev_article.title}}
{{prev_article.title}}
{{else}}
<Untitled>
{{/if}}