diff --git a/docs/settings.rst b/docs/settings.rst index 0a1af584..54d95b9d 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -364,7 +364,7 @@ Ordering content ================================================ ===================================================== Setting name (default value) What does it do? ================================================ ===================================================== -`REVERSE_ARCHIVE_ORDER` (``False``) Reverse the archives list order. (True: orders by date +`REVERSE_ARCHIVE_ORDER` (``True``) Reverse the archives list order. (True: orders by date in descending order, with newer articles first.) `REVERSE_CATEGORY_ORDER` (``False``) Reverse the category order. (True: lists by reverse alphabetical order; default lists alphabetically.) diff --git a/pelican/settings.py b/pelican/settings.py index 41b8baa9..dbecfd47 100644 --- a/pelican/settings.py +++ b/pelican/settings.py @@ -32,7 +32,7 @@ _DEFAULT_CONFIG = {'PATH': '.', 'DEFAULT_DATE': 'fs', 'WITH_FUTURE_DATES': True, 'CSS_FILE': 'main.css', - 'REVERSE_ARCHIVE_ORDER': False, + 'REVERSE_ARCHIVE_ORDER': True, 'REVERSE_CATEGORY_ORDER': False, 'DELETE_OUTPUT_DIRECTORY': False, 'ARTICLE_URL': '{slug}.html', diff --git a/tests/output/basic/archives.html b/tests/output/basic/archives.html index dac96a47..704fc836 100644 --- a/tests/output/basic/archives.html +++ b/tests/output/basic/archives.html @@ -47,14 +47,11 @@