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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 - Archive isn't getting class page name #442

Closed
kjaymiller opened this issue Dec 6, 2023 · 0 comments 路 Fixed by #448
Closed

馃悰 - Archive isn't getting class page name #442

kjaymiller opened this issue Dec 6, 2023 · 0 comments 路 Fixed by #448
Assignees

Comments

@kjaymiller
Copy link
Collaborator

When you create an archive... the first archive is correctly named and slugged, but the paginated archives are just labeled as archive1[2,3,4].html

Version

2023.12.1b3

How to test

Create a paginated collection

from render_engine import Site, Collection

site = Site()

@site.collection
class TestCollection(Collection):
    items_per_page = 1
    content_path = [Page(content="Page1"), Page(content="Page2"), Page(content="Page3')]

site.render()

check the output for the expected output

$ ls output
TestCollection.html, TestCollection1.html, TestCollection2.html, TestCollection3.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant