Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (19 sloc) 818 Bytes
<div class="social-links">
{% assign links = '' | split: '' %}
{% if site.social-links-order %}
{% for link in site.social-links-order %}
{% assign link-elem = include.links | where: "name", link %}
{% assign links = links | concat: link-elem %}
{% endfor %}
{% else %}
{% assign links = include.links %}
{% endif %}
{% for link in links %}
{% assign link-username = site[link.name] %}
{% if link-username %}
<a target="_blank" class="link" data-title="{{ link.url-prefix }}{{ link-username }}" href="{{ link.url-scheme | default: '//' }}{{ link.url-prefix }}{{ link-username }}" rel="me">
<svg class="icon icon-{{ link.icon | default: link.name }}"><use xlink:href="#icon-{{ link.icon | default: link.name }}"></use></svg>
</a>
{% endif %}
{% endfor %}
</div>