Expose API location in template