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

Implement page ordering support #33

Merged
merged 4 commits into from
Nov 13, 2018
Merged

Conversation

johanjanssens
Copy link
Member

Pages can be ordered per folder by adding a .order.[format] file to the folder that specifies the specific ordering of all the data files, both files and directories can be ordered.Typecan be any data format: YAML, JSON, INI, PHP, and XML.

Example with YAML:

- file1.md
- fileB.md
- folderA
- folderB

By default use the ordering of the pages as they are retrieved from the page registry.
@johanjanssens johanjanssens added this to the 0.4.0 milestone Nov 12, 2018
@johanjanssens johanjanssens self-assigned this Nov 12, 2018
@johanjanssens johanjanssens merged commit 52f2d68 into master Nov 13, 2018
@johanjanssens johanjanssens deleted the feature/32-ordering branch November 13, 2018 15:21
@johanjanssens johanjanssens mentioned this pull request Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant