Change default REVERSE_ARCHIVE_ORDER to true
This commit is contained in:
Alexis Metaireau 2012-07-20 03:51:59 -07:00
commit db79abdc13
12 changed files with 81 additions and 81 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)