You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 28, 2019. It is now read-only.
I am not sure, but I think that the problem with this approach is that filesystems will list filenames with "10" before "2". Of course you can keep renaming them, but that seems cumbersome and if you have your local site under version control, you need to re-add files all the time. So we can stick with a position field in the YAML. @did?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The page filename should make it easier to define the page position.
The syntax would be "01_mypage.liquid" (or "10001_mypage.liquid", any number of digits is ok).
This way, filenames are sorted in the same order as their position.
The page slug will be in these 2 examples "mypage", and the "position" in the page header will be ignored.
The developer still can name its page "mypage.liquid", then the position is set in the page header.
The text was updated successfully, but these errors were encountered: