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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New tip: sorting content collections by default #14

Open
florian-lefebvre opened this issue Dec 1, 2023 · 4 comments
Open

New tip: sorting content collections by default #14

florian-lefebvre opened this issue Dec 1, 2023 · 4 comments

Comments

@florian-lefebvre
Copy link
Member

  • Number in filename
@at-the-vr
Copy link
Member

Rough thought: Is this what the tip is about ?
image

@florian-lefebvre
Copy link
Member Author

This and anlso I was thinking about 0.test.md, 1.something.md

@at-the-vr
Copy link
Member

I think this is a "hacky" way but it works in local builds on SSG Mode. Is there a Blog Template in Server Mode to test this out?
image

astro blog template with same logic: https://stackblitz.com/edit/github-frcuy4

@florian-lefebvre
Copy link
Member Author

It probably requires a bit more validation, and worth exposing as an helper but the implementation looks generally good 👍 thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants