Add a feature to display Previous and Next links for all content files in a specific folder #3974
Closed
ironfish1000
started this conversation in
Enhancement Queue
Replies: 1 comment
-
|
Note that this does exist! I believe https://www.11ty.dev/docs/collections-api/#get-filtered-by-glob-glob is the feature you’re looking for |
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.
-
Is your feature request related to a problem? Please describe.
In my post:
#3861
Previous and Next links and collections #3861
I documented how I figured out how to display Previous and Next links for all content files in a specific folder
And IMHO this is not a straightforward way to do this.
I would like to request a feature be added to do this.
Maybe a way to do this is (if this is the best way to go) is to add a feature addition to the Collections functionality (https://www.11ty.dev/docs/collections/) to make a collection of all content files in a current folder.
Eg:
{%- for post in collections.currentfolder -%}
Describe the solution you'd like
to add a feature addition to the Collections functionality (https://www.11ty.dev/docs/collections/) to make a collection of all content files in a current folder.
Eg:
{%- for post in collections.currentfolder -%}
Describe alternatives you've considered
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions