changing menuTitle variable to look at permalink