mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add the ability to sort categories.
generator.categories is now a list of (category, articles) instead of a dict. This is to avoid using ordered dicts that have been introduces in python 2.7, so we stay as much as possible compatible with older versions. This fixes #62. Thanks to Bruno for the report.
This commit is contained in:
parent
079e9f878e
commit
d0ec18f4db
5 changed files with 12 additions and 3 deletions
|
|
@ -54,6 +54,8 @@ Setting name what it does ?
|
|||
documents. You will need to install `rst2pdf`.
|
||||
`REVERSE_ARCHIVE_ORDER` Reverse the archives order. (True makes it in
|
||||
descending order: the newer first)
|
||||
`REVERSE_CATEGORY_ORDER` Reverse the category order. (True makes it in
|
||||
descending order, default is alphabetically)
|
||||
`SITEURL` base URL of your website.
|
||||
`SITENAME` Your site name,
|
||||
`STATIC_PATHS` The static paths you want to have accessible on the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue