-
Notifications
You must be signed in to change notification settings - Fork 9
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
[frontmatter] Add helpers to gather data from collections #66
Comments
ia3andy
changed the title
Add collection helpers to gather data
[frontmatter] Add helpers to gather data from collections
Sep 2, 2024
The idea for this one would be to add find/group methods in the RoqCollection and RoqCollections, this would allow to do: {#for tag in collections.posts.by("tags")} <!-- this would look into each posts and look for tags string or array of string and create a grouping as a Map<String, List<Page>> -->
{tag.key} <!-- the tag name -->
{#for post in tag.value} <!-- all the post with that tag-->
{post.title} <!-- the post title -->
{post.url} <!-- the post url --> |
melloware
added a commit
that referenced
this issue
Sep 21, 2024
ia3andy
added a commit
that referenced
this issue
Sep 25, 2024
Fix #66: RoqCollection by and group helpers
mcruzdev
pushed a commit
that referenced
this issue
Oct 9, 2024
mcruzdev
pushed a commit
that referenced
this issue
Oct 9, 2024
Fix #66: RoqCollection by and group helpers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example to get the list of tags and their related posts.
The goal is to create a page similar to that Jekyll one:
The text was updated successfully, but these errors were encountered: