build url hooks template page