Stacks API

Come build with us.
Stacks API v6 for Stacks 2.5


  <   Property List Reference


This content is open source. You can edit it and submit a pull request on GitHub.
This page is generated from this file.


© . YourHead Software all rights reserved.

Asset Files Dictionary

Overview

Assets are files that your stack needs to be published. Unlike templates, assets are published as-is without any changes.

Each asset must be declared in the Info.plist inside the assets array. Each item in the array is a dictionary that defines the filename and if the asset is a site-asset.

To access your assets you should use the Asset Path template variable along with the file name of your asset.

To access your assets that have the Site Asset property enabled, you should use the Site Asset Path template variable along with the file name of your asset.

Contents

Basic

Reference


File Name — filename

Description

The file name of asset. This should be only the name, not the complete path.


Site Asset — siteAsset

Description

When the siteAsset boolean is set to true, then the asset will be published to the site assets directory (usually rw_common). You can access these by using the Site Asset Path template variable.

© . YourHead Software all rights reserved.