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

Netlify CMS moves around the frontmatter #5253

Closed
lsolesen opened this issue Apr 12, 2021 · 5 comments
Closed

Netlify CMS moves around the frontmatter #5253

lsolesen opened this issue Apr 12, 2021 · 5 comments

Comments

@lsolesen
Copy link

Describe the bug

I put my frontmatter in a particular order in my config.yml - https://github.com/motionsplan/motionsplan-dk-jekyll/blob/master/admin/config.yml

However, after saving with the Netlify CMS it puts the frontmatter in another order, than specified in the the config.yml file.

This is an example after saving with the Netlify CMS where last_modified_at and permalink went to the top of the frontmatter instead of the title.
https://github.com/motionsplan/motionsplan-dk-jekyll/pull/78/files

Any chance to avoid this?

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Netlify CMS version: 2.0.11
  • Git provider: GitHub
  • OS:
  • Browser version chrome 22
  • Node.JS version:

CMS configuration

https://github.com/motionsplan/motionsplan-dk-jekyll/blob/master/admin/config.yml
Additional context

@lsolesen lsolesen added the type: bug code to address defects in shipped code label Apr 12, 2021
@erezrokah
Copy link
Contributor

erezrokah commented Apr 12, 2021

@AbdallahAbis
Copy link
Contributor

AbdallahAbis commented Apr 23, 2021

@lsolesen How can I reproduce that? so I have a better experience debugging.

@bytrangle
Copy link
Collaborator

@lsolesen : In the Markdown file created, I saw that the fields permalink and last_modified_at are below title field. Isn't that how it's supposed to be?

@lsolesen
Copy link
Author

If I edit using the editor then it moves around --> https://github.com/motionsplan/motionsplan-dk-jekyll/pull/88/files

@martinjagodic
Copy link
Member

Closing as stale

@martinjagodic martinjagodic closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2023
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

5 participants