I got this code:
href="<?php echo $menu->title()->lower()->html() ?>-<?php echo $category->title()->lower()->html() ?>"
which outputs the following:
href="restaurant-american steakhouse"
How do I solve the empty space in the output?
This looks awesome, unfortunattly it doesn’t work:
https://getkirby.com/docs/cookbook/the-mighty-mighty-uri-object