Feels wrong that the URL is hardcoded in the template. Could you move to the config?