camelCasing becomes camel-casing #74
-
I am unsure if this is a bug or a feature or both, dependent upon ones relative spacetime needs. The slugify option turns camelCasing into camel-casing lowercase with the hyphen for friendly URL's. It took the title of a webpage called WebPage and split the title of the post into web-page and created unfriendly post search engine optimization. |
Beta Was this translation helpful? Give feedback.
Answered by
ComfortablyCoding
Sep 25, 2022
Replies: 1 comment
-
This is due to the default options of the underlying library being used. If you add the lowercase and decamilize options as false in the plugins |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
oDinZu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is due to the default options of the underlying library being used.
If you add the lowercase and decamilize options as false in the plugins
slugifyOptions
property it should produce the slug as you want it.