Logo
en nl

HTML in Paspartout - 2. available variables

last updated: 17/01/2012
difficulty: medium
licenses: Shop, Pro, Biz
For each HTML template there is a different set of variables available. Here you can find an overview of those variables.

Header and Footer

- site (look below in the "site variable" section for more info)
- theme (look below in the "theme variable" section for more info)
- title
- description
- header_class
- menu_class
- gift_certificate (only for shop license)
- network_buttons
- footer_info
- page (look below in the "page variable" section for more info) 
- parent (only in Post, Project or Product; look below in the "parent variable" section for more info)
- category (only in category templates; look below in the "tag variable" section for more info)

Page

Every page type will have these variables available. Below you will find other variables specifically available for other page types.

- all the page variables (look below in the "page variable" section for more info)
- site (look below in the "site variable" section for more info)
- parent (only in Post, Project or Product; look below in the "parent variable" section for more info)
- category (only in category templates; look below in the "parent variable" section for more info)
- pagination (only Portfolio, Blog and Shop and only if there are more children than per page in the page settings)

Portfolio and Portfolio category

- categories (list; a list of html links)
- content_class
- projects

- raw.categories (list of raw categories; look below in the "tag variable" section for more info)

About

- blocks (list)
- available_for_freelance
- show_contact_details
- activities
- skills
- downloads (list)

- my.name
- my.location
- my.street
- my.zip
- my.email
- my.phone
- my.details

- raw.activities (list of raw activities; look below in the "tag variable" section for more info)
- raw.skills (list of raw skills; look below in the "tag variable" section for more info)

Blog and Blog category

- widgets (list)
- posts (list)

- raw.categories (list of raw categories; look below in the "tag variable" section for more info)
- raw.tags (list of raw tags; look below in the "tag variable" section for more info)

Shop

- content_class
- horizontal_shop_bar
- vertical_shop_bar
- carousel
- products (list)

Sheet

- blocks (list)

Project

- thumb (the thumb size selected by in the layout section)

- thumbs.square_5 (160x160#)
- thumbs.square_3 (280x280#)
- thumbs.horizontal_3 (280x160#)
- thumbs.horizontal_2 (446x160#)
- thumbs.horizontal_1 (945x160#)
- thumbs.vertical_5 (160x280#)
- thumbs.single (945x530#)
                                      
- thumbs.original (1280x1280>)
- thumbs.thumb (100x100#)
- thumbs.apple_touch_icon (72x72#) 

- video (full html5 code with flash fallback)
- images (list; look below in the "image variable" section for more info)
- categories
- body
- share_buttons

- raw.categories (list of raw categories; look below in the "tag variable" section for more info)
- raw.created_at
- raw.updated_at

- pagination (next / previous project)

Post

- edit_url
- published_at
- blocks (processed blocks)
- comments
- categories
- tags
- share_buttons

- raw.categories (list of raw categories; look below in the "tag variable" section for more info)
- raw.tags (list of raw tags; look below in the "tag variable" section for more info)
- raw.created_at
- raw.updated_at
- raw.published_at
- raw.blocks (list of raw blocks; look below in the "block variable" section for more info)

Product

- thumb

- thumbs.square_5 (160x160#)
- thumbs.square_3 (280x280#)
- thumbs.horizontal_3 (280x160#)
- thumbs.vertical_5 (160x280#)

- thumbs.original (1280x1280>)
- thumbs.thumb (100x100#)
- thumbs.apple_touch_icon (72x72#) 

- sold
- quantity
- price
- reduced_price
- rates
- reduction
- buy_button
- images (list; look below in the "image variable" section for more info)
- categories
- keywords
- collections
- materials
- variations
- genders
- body
- share_buttons
- question_url
- shipping

- raw.categories (list of raw categories; look below in the "tag variable" section for more info)
- raw.keywords (list of raw keywords; look below in the "tag variable" section for more info)
- raw.collections (list of raw collections; look below in the "tag variable" section for more info)
- raw.materials (list of raw materials; look below in the "tag variable" section for more info)
- raw.variations (list of raw variations; look below in the "tag variable" section for more info)
- raw.genders (list of raw genders; look below in the "tag variable" section for more info)
- raw.created_at
- raw.updated_at


Site variable

- title      
- url        
- description
- menu (list of pages; look in below in the "page variable" section for more info)

Page variable

- id
- type        
- name        
- title       
- description 
- permaname   
- url         
- short_url   
- target      
- external    
- menu_class  

- raw.created_at  
- raw.updated_at  
- raw.published_at

Parent variable

- url
- back_url
- name

Tag variable

- id
- name
- url

Block variable

- class
- id
- html

Image block

- title
- url
- url_target

- image.thumb (100x100#)
- image.fitting (600x2400>)
- image.original (1920x1920>)

Video and audio block

- source (youtube, vimeo or soundcloud)
- url (of source)

Image gallery block

- images (list; look below in the "image variable" section for more info)


Image variable

- id
- color 
- title
- description
- alt

- thumb (100x100#)
- square (280x280#)
- medium (640x640>)
- large (1280x1280>)
- original (1920x1920>)


related articles

HTML in Paspartout - 1. introduction HTML in Paspartout - 3. specific template HTML in Paspartout - 4. Images