{ 
{{~#if layout}}
  {{~#if layout.layout~}}
    selfLayout: '{{layout.layout}}',
  {{~/if~}}
  {{~#if layout.dir~}}
    dir: '{{layout.dir}}', 
  {{/if~}}
  {{~#if layout.align~}}
    align: '{{layout.align}}', 
  {{~/if~}}
  {{~#if layout.vAlign~}}
    vAlign: '{{layout.vAlign}}', 
  {{~/if~}}
{{~/if~}}
{{~#if layoutPos~}}
  {{~#if layoutPos.layout~}}
    parentLayout: '{{layoutPos.layout}}', 
  {{~/if~}}
  {{~#if layoutPos.grow~}}
    grow: {{layoutPos.grow}}, 
  {{~/if~}}
  {{~#if (and layoutPos.colLG (neq layoutPos.colLG -1) )~}}
    colLG: {{layoutPos.colLG}}, 
  {{~/if~}}
  {{~#if (and layoutPos.colLGOffset (neq layoutPos.colLGOffset -1) )~}}
    colLGOffset: {{layoutPos.colLGOffset}},
  {{~/if~}}
  {{~#if (and layoutPos.colMD (neq layoutPos.colMD -1) )~}}
    colMD: {{layoutPos.colMD}}, 
  {{~/if~}}
  {{~#if (and layoutPos.colMDOffset (neq layoutPos.colMDOffset -1) )~}}
    colMDOffset: {{layoutPos.colMDOffset}},
  {{~/if~}}
  {{~#if (and layoutPos.colSM (neq layoutPos.colSM -1) )~}}
  colSM: {{layoutPos.colSM}}, 
  {{~/if~}}
  {{~#if (and layoutPos.colSMOffset (neq layoutPos.colSMOffset -1) )~}}
    colSMOffset: {{layoutPos.colSMOffset}},
  {{~/if~}}
  {{~#if (and layoutPos.colXS (neq layoutPos.colXS -1) )~}}
    colXS: {{layoutPos.colXS}}, 
  {{~/if~}}
  {{~#if (and layoutPos.colXSOffset (neq layoutPos.colXSOffset -1) )~}}
    colXSOffset: {{layoutPos.colXSOffset}},
  {{~/if~}}
{{/if}}
}