From 4b6b5f046166899ed7eb2c3c15db058690b7b650 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Fri, 19 Feb 2021 09:31:04 +0100 Subject: [PATCH] Clarify ARTICLE_ORDER_BY documentation --- docs/settings.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/settings.rst b/docs/settings.rst index 080856e3..c66c42a3 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -1134,10 +1134,11 @@ Ordering content Defines how the articles (``articles_page.object_list`` in the template) are sorted. Valid options are: metadata as a string (use ``reversed-`` prefix - the reverse the sort order), special option ``'basename'`` which will use - the basename of the file (without path) or a custom function to extract the - sorting key from articles. The default value, ``'reversed-date'``, will sort - articles by date in reverse order (i.e. newest article comes first). + to reverse the sort order), special option ``'basename'`` which will use + the basename of the file (without path), or a custom function to extract the + sorting key from articles. Using a value of ``'date'`` will sort articles in + chronological order, while the default value, ``'reversed-date'``, will sort + articles by date in reverse order (i.e., newest article comes first). .. data:: PAGE_ORDER_BY = 'basename'