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 Jan 25, 2019. It is now read-only.
13:11 < mythmon> the slug variable on content pages needs to be unique.
13:12 < mythmon> so you are confusing wok and it is overwriting pages on disk.
13:12 < edunham> it didn't yell at me when it got confused, though
The text was updated successfully, but these errors were encountered:
I wanted to create an issue related to the same subject. It is quite easy, when the site grows, to have two identical slugs, in different categories perhaps. This is not a problem anywhere but in the slugs dictionnary.
If slugs must be unique, a warning should be written when a key is overriden during the slugs dictionnary build, the way orphans are already detected. And it should be written with a big and red font in documentation. :)
But perhaps the pages could be stored with a diffrent key, like their URL, their path, or a tuple with their slug and category?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
13:11 < mythmon> the slug variable on content pages needs to be unique.
13:12 < mythmon> so you are confusing wok and it is overwriting pages on disk.
13:12 < edunham> it didn't yell at me when it got confused, though
The text was updated successfully, but these errors were encountered: