Ignore everything from # character onwards in view modifier urls