Sha256: 8eb1abecb7f84bd0758c84a7a9f64b7d2eec77eda30751794f198e8bf328e6e6
Contents?: true
Size: 1.07 KB
Versions: 5
Compression:
Stored size: 1.07 KB
Contents
<h3><span class="function">include</span> - Includes the contents of a page at the position of the tag.</h3> <p class="example">The page named "test" will be inserted here along with any variables that have already been defined in the scope of the surrounding page.</p> <pre> <div> {% include 'test' %} </div> </pre> <h3><span class="function">asset_data</span> - Retrieves assets as a collection of asset drops.</h3> <ul> <li><span class="param required">tag</span> - The tag string used to search for the assets. Tags are associated with the asset when creating or editing them.</li> <li><span class="param">random</span> - Return assets in a random order or most recent first. (true/false). false by default.</li> <li><span class="param">limit</span> - The maximum number of records to return. Returns all by default.</li> <li><span class="param">as</span> - Specify the name of the variable that the asset data will be saved in. The name is 'assets' by default.</li> </ul> <pre> {% asset_data tag:'gallery' %} {% asset_data tag:'customer' random:true %} </pre>
Version data entries
5 entries across 5 versions & 1 rubygems