Hi all
I have a question regarding url params. I work on a website which has urls like /page/param:value.
I now have a team mate who works on windows.
Windows can’t understand : so we would have to use ; on his machine. This however is not practical.
Is there a best practice how to deal with this?
If you use the $options parameter on the $page->url() etc. methods (and set params inside the $options array to add the params instead of doing it manually), Kirby will take care of using the correct separator automatically.
Thank you @texnixe!
This works perfectly.
The implications of setting the params this way instead of adding them manually are not obvious and it might be worth adding them to the documentation in some form.