Displaying "Items 1–n of m" for a listing #8668
Unanswered
tim-at-topos
asked this question in
Q&A
Replies: 1 comment
-
It might be possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I have a listing in my Quarto website that uses a custom
.ejs
template. I'd like it to display e.g. "Showing items 6–10 of 23" along with the pagination, so that the viewer can tell how many total items there are. Is there currently a way of doing this?I can imagine maybe using the
items
list in the.ejs
file and calculating its length to get the total number, but is there a way to get the values of the currently displayed items in the listing from Quarto?Beta Was this translation helpful? Give feedback.
All reactions