adds data attribute flag for links the router should ignore