Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate paginated post index per-series #33

Open
KayOhtie opened this issue Jan 3, 2024 · 2 comments
Open

Generate paginated post index per-series #33

KayOhtie opened this issue Jan 3, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@KayOhtie
Copy link

KayOhtie commented Jan 3, 2024

Basically what it says; it'd be neat to be able to have a paginated (if using such) index of all articles in each series as an option, especially ordered by series index value. Right now, pagination of articles in an index is dictated only by the sort order across the whole site, so if you want articles listing normally in reverse chronological order, you can't then have a chronological listing only for specific categories or series.

I'd like a feature to generate an index listing per-series, likely by default at /series/{{ series.name }}.html and organized in series order.

@KayOhtie KayOhtie added the enhancement New feature or request label Jan 3, 2024
@lgiordani
Copy link
Collaborator

Hi @Ceralor and sorry for the long delay.
I'm not completely sure I can follow the whole explanation: you basically would like the plugin to add a page with all the items in a series, right?

I'm afraid this can't be done with Pelican at the moment.

What you can do is to create a page whose template uses the variable series, which is the dictionary of all series. As I'm working on a new version of the plugin I will add a description in the documentation shortly.
However, unfortunately this is how far you can go with Pelican plugins at the moment (as far as I know, at least).

Let me know if I misunderstood your request and keep an eye on the next version of the plugin. Thanks!

@lgiordani
Copy link
Collaborator

I just realised that the documentation already mentions the global context provided by the key series. Please let me know if that is of any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants