First attempt at changing from slug to path for pages
Fixed a bug with the item sidebar (in an awful way)