Skip to content

Commit

Permalink
ADD: social icons only option [2].
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-nginx authored Jul 3, 2017
1 parent 1f893ae commit c96ace2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layout/_macro/sidebar.swig
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@
{% if theme.social_icons.enable %}
<i class="fa fa-fw fa-{{ theme.social_icons[name] | default('globe') | lower }}"></i>
{% endif %}
{{ name }}
{% if not theme.social_icons.icons_only %}
{{ name }}
{% endif %}
</a>
</span>
{% endfor %}
Expand Down

0 comments on commit c96ace2

Please sign in to comment.