Includes
What are includes?
Library of includes for Troop website
File downloads list
Include
{% if include.part == 'header' %}
<tr class="tmd-table-header_row">
<th class="th-name">File name</th>
<th class="th-date">Last updated</th>
<th class="th-type">Type</th>
<th class="th-size">Size</th>
</tr>
{% else %}{% endif %}
{% if include.part == 'row' %}
<tr class="tmd-table-row" onclick="window.location='{{ include.link }}'">
<td>{{ include.name }}</td>
<td>{{ include.date }}</td>
<td>{{ include.type }}</td>
<td>{{ include.size }}</td>
</tr>
{% else %}{% endif %}Usage
Generated Example
Events page card
Include
Usage
Example

Home page carousel card
Include
Usage
Example

Side navigation item (generated from collection)
CollectionsSide navigation link
Include
Usage
Example

Top navigation item
CollectionsField items
Include
Usage
Example
Last updated
Was this helpful?