Generate named urls in filter template macro