<section id="blocksocial" class="col-xs-12">
    <h2 class="title_block main-title-column social-header">{l s='Follow us' mod='blocksocial'}</h2>

    {if !empty($facebook_url)}
        <a href="{$facebook_url|escape:html:'UTF-8'}" title="{l s='Facebook' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-facebook icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($twitter_url)}
        <a href="{$twitter_url|escape:html:'UTF-8'}" title="{l s='Twitter' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-twitter icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($rss_url)}
        <a href="{$rss_url|escape:html:'UTF-8'}" title="{l s='RSS' mod='blocksocial'}" target="_blank" rel="noopener">
            <i class="icon icon-rss icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($youtube_url)}
        <a href="{$youtube_url|escape:html:'UTF-8'}" title="{l s='Youtube' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-youtube icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($pinterest_url)}
        <a href="{$pinterest_url|escape:html:'UTF-8'}" title="{l s='Pinterest' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-pinterest icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($vimeo_url)}
        <a href="{$vimeo_url|escape:html:'UTF-8'}" title="{l s='Vimeo' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-vimeo icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($instagram_url)}
        <a href="{$instagram_url|escape:html:'UTF-8'}" title="{l s='Instagram' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-instagram icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($vk_url)}
        <a href="{$vk_url|escape:html:'UTF-8'}" title="{l s='VK' mod='blocksocial'}" target="_blank" rel="noopener">
            <i class="icon icon-vk icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($linkedin_url)}
        <a href="{$linkedin_url|escape:html:'UTF-8'}" title="{l s='Linkedin' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-linkedin icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($wordpress_url)}
        <a href="{$wordpress_url|escape:html:'UTF-8'}" title="{l s='WordPress' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-wordpress icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($amazon_url)}
        <a href="{$amazon_url|escape:html:'UTF-8'}" title="{l s='Amazon' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-amazon icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($tumblr_url)}
        <a href="{$tumblr_url|escape:html:'UTF-8'}" title="{l s='Tumblr' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-tumblr icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($snapchat_url)}
        <a href="{$snapchat_url|escape:html:'UTF-8'}" title="{l s='Snapchat' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-snapchat icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($reddit_url)}
        <a href="{$reddit_url|escape:html:'UTF-8'}" title="{l s='Reddit' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-reddit icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($yelp_url)}
        <a href="{$yelp_url|escape:html:'UTF-8'}" title="{l s='Yelp' mod='blocksocial'}" target="_blank" rel="noopener">
            <i class="icon icon-yelp icon-2x icon-fw"></i>
        </a>
    {/if}

    {if !empty($medium_url)}
        <a href="{$medium_url|escape:html:'UTF-8'}" title="{l s='Medium' mod='blocksocial'}" target="_blank"
           rel="noopener">
            <i class="icon icon-medium icon-2x icon-fw"></i>
        </a>
    {/if}
</section>
