/pelican.plugins.category_order

A Pelican plugin that order categories by number of posts.

Primary LanguagePython

Control Category Display Order

By default, you can only set the order categories (and tags) alphabetically. This plugin offers to sort them by the number of articles in that category (or tag). See a live demo here.

Settings

  • CATEGORIES_ORDER_BY: can be size, size-rev, alphabetic-rev or alphabetic.
  • TAGS_ORDER_BY: can be size, size-rev, alphabetic-rev or alphabetic.

The default value of these two settings is size-rev.