{%- if include.contact.platforms -%} <div id="contacts-platforms"> {%- for platform in include.contact.platforms -%} {%- assign medium = site.data.social_platforms[platform.type] -%} <a href="{{ platform.link_as }}"> <i class="{{ medium.fontawesome_class }}"></i> </a> {%- endfor -%} </div> {%- endif -%}