Changed wording of the setting to NEWEST_FIRST_ARCHIVES

Also updated documentation and tested to make sure behavior matches expected wording
This commit is contained in:
tBunnyMan 2012-07-18 11:18:48 -07:00
commit fe91caf325
4 changed files with 5 additions and 5 deletions

View file

@ -308,7 +308,7 @@ class ArticlesGenerator(Generator):
self.articles.sort(key=attrgetter('date'), reverse=True)
self.dates = list(self.articles)
self.dates.sort(key=attrgetter('date'),
reverse=self.context['REVERSE_ARCHIVE_ORDER'])
reverse=self.context['NEWEST_FIRST_ARCHIVES'])
# create tag cloud
tag_cloud = defaultdict(int)

View file

@ -32,7 +32,7 @@ _DEFAULT_CONFIG = {'PATH': '.',
'DEFAULT_DATE': 'fs',
'WITH_FUTURE_DATES': True,
'CSS_FILE': 'main.css',
'REVERSE_ARCHIVE_ORDER': True,
'NEWEST_FIRST_ARCHIVES': True,
'REVERSE_CATEGORY_ORDER': False,
'DELETE_OUTPUT_DIRECTORY': False,
'ARTICLE_URL': '{slug}.html',