David Herman
02/07/2024, 7:30 PMExamplePage.kt
now generates example-page
instead of examplepage
).
Hyphens are actually encouraged by Google for SEO, so I apologize it took me so long to even notice that my defaults were wrong here! Fortunately, most pages in most sites are single words, and Kobweb provides rich route overriding support, so I imagine most people who cared have worked around this already.
Changing route generation logic was easy -- making sure we didn't break old sites was hard! We added a detailed README section so you can read more about our approach to navigating this situation here.
Despite the foundational change, updating to this version should hopefully be fairly painless. Of course, if you run into any issues, please reply to this thread.David Herman
02/07/2024, 7:32 PMmarkdown.process
callback discussed in https://github.com/varabyte/kobweb/issues/375
If you try using it yourself for your own use-case, let me know if it falls short for what you need.Ayfri
02/07/2024, 9:33 PMAyfri
02/08/2024, 7:59 PMfilenameToSlug
exists ?Ayfri
02/08/2024, 8:01 PMDavid Herman
02/08/2024, 8:21 PMDavid Herman
02/08/2024, 8:22 PMAyfri
02/08/2024, 8:23 PMDavid Herman
02/08/2024, 8:24 PMDavid Herman
02/08/2024, 8:24 PM