added support for slug and episode pages