template
The template
object has the following attributes:
- template.name
- template.description
- template.is_responsive
- template.industries
- template.pages
- template.thumbnail
- template.cover_photo
template.industries
Returns an array of template industries. [Optional]
Input
{{ template.industries | join: ', ' }}
Output
"Clothing & Fashion, Media & Advertising, Optical Products"
template.pages
Returns an array of page name of the current template. [Optional]
Input
{{ template.pages | join: ', ' }}
Output
"Galleries, Products, About Us, Announcements, People, Contact Us"
template.thumbnail
Returns template thumbnail. [Optional]
Input
{{ template.thumbnail.url }}
# => http://s-staging-yoolk-assets.s3.amazonaws.com/global/instant_website/templates/original/1404789996/57.png?1404789996
template.cover_photo
Returns cover photo of current template. [Optional]
Input
{{ template.cover_photo.url }}
# => http://s-staging-yoolk-assets.s3.amazonaws.com/global/instant_website/template_cover_photos/original/1406775868/7.png?1406775868