v2-hub
v2-hub copied to clipboard
Slug homepage is not shown in .md file and in CP after switching pages
Describe the bug When entering slug using the CP it is not saved to the .md file. It is shown however in the CP just after saving (save & continue). When switching pages and returning to the homepage however the slug is not shown in the CP.
To Reproduce Steps to reproduce the behavior:
- Install a fresh new statamic install using terminal command
statamic new [name]
- Cleared the default site & create blank theme using
php please
- Create a multi locale version using the steps in https://docs.statamic.com/localization.
- Go to homepage in CP
- Change slug in CP & check .md file > no inserted slug present
- Switch to another page and back to homepage in CP
- Check slug field: empty
Expected behavior The slug field showing the slug all the time, not the slug field only showing the slug after entering a value and clicking "save & continue"
Environment details (please complete the following information): Statamic Version 2.11.17 Fresh Install or Upgrade: Fresh Install OS: macOS 10.15.2 Browser: Chrome / Safari / FireFox Web Server: Valet PHP Version: 7.1.25 Addons installed: none
Slugs are the saved in the filename, not inside the .md file. And homepage slugs are always overridden as /
regardless of their filename. Is anything actually broken/non-functional or is it just the confusion of the field value?