Skip to content

Commit

Permalink
Merge pull request getpelican#513 from offdutypirate/add-gitlab-non-s…
Browse files Browse the repository at this point in the history
…quare

Pelican-Bootstrap3: Add GitLab to non-square icon list
  • Loading branch information
justinmayer authored Sep 4, 2017
2 parents d83dfa0 + c6b9d66 commit 7adcf67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pelican-bootstrap3/templates/includes/sidebar/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h4>{{ title(_('Social'), DISABLE_SIDEBAR_TITLE_ICONS) }}</h4>
{% else %}
{% set name_sanitized = s[0]|lower|replace('+','-plus')|replace(' ','-') %}
{% endif %}
{% if name_sanitized in ['flickr', 'slideshare', 'instagram', 'spotify', 'stack-overflow', 'weibo', 'line-chart', 'home', 'user', 'users', 'envelope', 'envelope-o', 'stack-exchange', 'hacker-news'] %}
{% if name_sanitized in ['flickr', 'slideshare', 'instagram', 'spotify', 'stack-overflow', 'weibo', 'line-chart', 'home', 'user', 'users', 'envelope', 'envelope-o', 'stack-exchange', 'hacker-news', 'gitlab'] %}
{% set iconattributes = '"fa fa-' ~ name_sanitized ~ ' fa-lg"' %}
{% else %}
{% set iconattributes = '"fa fa-' ~ name_sanitized ~ '-square fa-lg"' %}
Expand Down

0 comments on commit 7adcf67

Please sign in to comment.