[social_icons @shortcode_attributes({}, shortcode_css('passive_', passive), shortcode_css('hovered_', hovered), shortcode_css())] @if (showFb) { [social_icon @shortcode_attributes({ "type": 'fb', "permalink_url": [fbIcon.permalinkURL], "share_title": [fbIcon.shareTitle], "share_image_url": [fbIcon.shareImageUrl], "picture": [fbIcon.icon.picture.fileName, fbIcon.icon.picture.toString('url')], "icon": [fbIcon.icon.icon] }, shortcode_css('icon_', fbIcon.icon), shortcode_css('', fbIcon))]@(fbIcon.shareText)[/social_icon] } @if (showTw) { [social_icon @shortcode_attributes({ "type": 'tw', "permalink_url": [twIcon.permalinkURL], "share_title": [twIcon.shareTitle], "share_image_url": [twIcon.shareImageUrl], "picture": [twIcon.icon.picture.fileName, twIcon.icon.picture.toString('url')], "icon": [twIcon.icon.icon] }, shortcode_css('icon_', twIcon.icon), shortcode_css('', twIcon))]@(twIcon.shareText)[/social_icon] } @if (showGl) { [social_icon @shortcode_attributes({ "type": 'gl', "permalink_url": [glIcon.permalinkURL], "share_title": [glIcon.shareTitle], "share_image_url": [glIcon.shareImageUrl], "picture": [glIcon.icon.picture.fileName, glIcon.icon.picture.toString('url')], "icon": [glIcon.icon.icon] }, shortcode_css('icon_', glIcon.icon), shortcode_css('', glIcon))]@(glIcon.shareText)[/social_icon] } @if (showPi) { [social_icon @shortcode_attributes({ "type": 'pi', "permalink_url": [piIcon.permalinkURL], "share_title": [piIcon.shareTitle], "share_image_url": [piIcon.shareImageUrl], "picture": [piIcon.icon.picture.fileName, piIcon.icon.picture.toString('url')], "icon": [piIcon.icon.icon] }, shortcode_css('icon_', piIcon.icon), shortcode_css('', piIcon))]@(piIcon.shareText)[/social_icon] } [/social_icons]