Cecil logo
September 6, 2022

Cecil 6.5.0 released


Sort pages collection by updated date

When you applied the sort_by_date filter on a pages collection it use the date variable value by default.
You can change this behavior and use updated variable value instead of date:

{{ pages|sort_by_date }} # filter on "date" value
{{ pages|sort_by_date('updated') }} # filter on "updated" value


  • The default date of a page in now based on file last modified date (PHP getMTime)
Release notes on GitHub