-
Notifications
You must be signed in to change notification settings - Fork 7
merge pagination pages into normal catalog route #49
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
base: main
Are you sure you want to change the base?
Conversation
Love the idea! I tried testing it though and the pagination doesn't work (getting a 404 on |
i saw htmx stuff in the code but didnt know how it worked or what it was for (i.e. this needs to be documented better) I feel like a clean way to re-fix infinite scroll with the current, merged catalog page is to just have a Would that work? |
Yeah I think that would work |
i found a way to deduplicate the jinja macro for defining the mural card too |
it would REALLY help backport things if there was a defined code style |
(also ended up solving the problem by simply checking for the presence of the |
The pagination.html template seems to duplicate code with the catalog page (specifically the macro for rendering things - which is also in the header.html template)
also it seems like the page is mostly blank (see https://tunnelvision.csh.rit.edu/page?p=1)
this PR removes it and instead moves pagination into the catalog endpoint/templates (which it already has support for if one hardcoded reference is changed to be dynamic)