{if $dbcfg.social.facebook || $dbcfg.social.instagram}
   <div class="instafeed-wrapper">
      <div class="instafeed-header">
         <h6>
             {if $dbcfg.instagram.username}
                <a href="{$dbcfg.social.instagram}">@{$dbcfg.instagram.username}</a>
             {/if}
         </h6>
         <div class="social-links">
             {if $dbcfg.social.instagram}
                <a href="{$dbcfg.social.instagram}" class="fc icons_ig contact-social" target="_blank">{t}Instagram{/t}</a>
             {/if}
             {if $dbcfg.social.facebook}
                <a href="{$dbcfg.social.facebook}" class="fc icons_fb contact-social" target="_blank">{t}Facebook{/t}</a>
             {/if}
         </div>
      </div>

      <div id="instafeed" class="instafeed"></div>
   </div>
{/if}
