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 Feb 9, 2018. It is now read-only.
This is similar to Ghost's in-built slug update logic since 0.8.0
(see TryGhost/Ghost#6631), with some differences:
- The slug is updated even if a post is unpublished and then published
again with a new title
- The slug is only updated on publish, not on every save
- If a custom slug was set on the draft, it will be overridden upon
publishing
Refs: #122, #130
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Starting with Ghost 0.8.0, the Ghost backend automatically updates the post slug to match the title, unless it's been changed manually or the post has been published at least once. This pretty much eliminates the need for our own slug generation logic.
So, this code should not be executed for >= 0.8.0 and removed once we stop supporting prior versions altogether.
The text was updated successfully, but these errors were encountered: