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

feat: add the collection _weight parameter for sorting #98

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

razonyang
Copy link
Member

@razonyang razonyang commented Jan 24, 2024

Fixes #51

params:
  decap_cms:
    collections:
      bar:
        _weight: 2
      foo:
        _weight: 1

foo will get higher priority.

@razonyang razonyang merged commit 7db2bd1 into main Jan 24, 2024
2 checks passed
@github-actions github-actions bot mentioned this pull request Jan 24, 2024
@razonyang razonyang deleted the feat-collection-weight branch January 27, 2024 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow sorting collections
1 participant