If you need to link to an asset from our platform from within your theme or template, you can use the following template code {% asset %} to add that to your page which will automatically handle the CDN references.
Asset macro
Sometimes the assets can't be included using the jinja above, so you also have access to the asset prefix as a macro.
Within templates
When using jinja templates, you can also access this value under the site object