modified the permalink generation to remove leading fw slash