I use Tera in my blog. Now I need to order my posts by time, but the lastest post will at the bottom of the list.
I try to use reverse = True like Jinja2, but it does not work.
It seem that we can only sort an array into ascending order......
Must I implement it with javascript?
I use Tera in my blog. Now I need to order my posts by time, but the lastest post will at the bottom of the list. I try to use
reverse = True
like Jinja2, but it does not work. It seem that we can only sort an array into ascending order...... Must I implement it with javascript?