discussions permalink updated to use template