Skip to content

mgwn/pelican-category-custom-order

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Control Category Display Order

By default, you can only set the order categories (and tags) alphabetically. And there is a plugin category_order offers to sort them by the number of articles.
This plugin offers to sort them by a given list

Settings

  • CATEGORIES_CUSTOM_ORDER: the list of categories
CATEGORIES_CUSTOM_ORDER = [
    'Get Start',
    'Tutorials',
    'API Reference'
]
  • ``CATEGORIES_DEFAULT_ORDER`:(optional, default=100) the default value of those not in the list. They will order alphabetically.

About

A plugin to custom the category order in pelican

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages