Assets
Last updated
Last updated
We are Realmac Software. We make nice things.
Assets can be included per component or shared in a component pack.
To link to an asset in a single component you'll need to do the following;
Use the {{assetPath}} macro inside of the index.html Template file. If you need the include to appear in the head (or other areas) of the page you can use the Portal Function.
Include the following code in the hooks.js to return the assetPath to the page template: