@{ var isBootstrapImage = image.imageStyle.constructorName === 'BootstrapImage'; } [text_group @shortcode_attributes( { "header": [parse(header.content, header), header.content && showHeader], "header_tag": [headerTag, headerTag !== 'h4' && showHeader], "image_position": [imagePosition, imagePosition !== 'left'], "style": [block.mixinName], "responsive": [responsive, responsive && responsive !== 'xs'], "image_link": [image.href], "image": [image.image.fileName, image.image.toString('url') && showImage], "image_style": [isBootstrapImage ? image.imageStyle.shape.replace('img-', '') : image.imageStyle.mixinName], "image_type": ["bootstrap", isBootstrapImage], "image_responsive": [image.imageStyle.responsive, isBootstrapImage && image.imageStyle.responsive] }, shortcode_css(), shortcode_css('image_', image) )]@parse(content.content, content)[/text_group]