pelican-plugins / series

Series is a Pelican plugin that joins multiple posts into a series
11 stars 4 forks source link

Add series to generator context. Better tests and documentation #2

Closed lgiordani closed 3 years ago

lgiordani commented 3 years ago

This adds the dictionary series to the generator context, so that a list of all series and relative articles is available for templates. This also improves the tests, adding checks of the behaviour of the series_index metadata, and improves the documentation. I also fixed an issue with indexes greater than 10. The code wasn't converting index into an integer, so the ordering was wrong from 10 onwards.