{%- for name, link in theme.social %}
{%- set sidebarURL = link.split('||')[0] | trim %}
{%- set sidebarIcon = '' if theme.social_icons.enable and link.split('||')[1] else '' %}
{%- set sidebarText = '' if (theme.social_icons.enable and theme.social_icons.icons_only) else name %}
{{ next_url(sidebarURL, sidebarIcon + sidebarText, {title: name + ' → ' + sidebarURL}) }}
{%- endfor %}
{%- endif %}
{%- if theme.creative_commons.license and theme.creative_commons.sidebar %}