pelican-plugins
pelican-plugins copied to clipboard
Gallery plugin: Pagination for albums with many images
I am generating a page via the gallery plugin. The generated page contains dozens of photos, which is why i want to split them into pages.
I tried using the following syntax from issue #735 but couldn't make it work. I guess this is used for something else than pages.
THEME = 'themes/notmyidea'
DIRECT_TEMPLATES = (('index', 'blog', 'tags', 'categories', 'archives'))
PAGINATED_DIRECT_TEMPLATES = (('index', 'blog'))
Is there any way to paginate individual pages?
No. Those settings are for article collections. Even if you could, pelican
wouldn't have any information about the photos inside your page to paginate. Sounds like this is a job (feature if you will :)) for the gallery
plugin.
Hy Fabian. I have moved this issue to the Pelican Plugins repository, since as @avaris mentioned your query is more closely related to how the Gallery plugin operates. Would you be interested in working on adding this functionality to the Gallery plugin?
@fabge we have moved the photos plugin to a new location https://github.com/pelican-plugins/photos . Are you still interested in this feature and would you like to work on it?