Allow path to be passed to page_classes

This allows tagging navigation links etc. in other pages with page classes