Article archive

On this page

Overview

The article archive drops should be used in the archive templatearticles.archive.tpl.

With a article archive you can show all articles in different ways. You can show all articles at once, sorted by the date that they were published. You can also sort the articles based on which year or month that they were published. 

Below you can see all the available drops on the article archive object


Name Description
archive.articles Get articles for this frame
archive.year Get the year name
archive.month Get the localized month name
archive.url Get the archive url for this frame
archive.count Get the number of articles in this frame

 

Retrieve 10 articles from the archive

{% for article in archive.articles.10 %}
  ...
{% endfor %}

 

Don't forget to add a limit! In the example below the limit is set to 10.

 

Updated: 2019-11-07