Skip to content

Commit

Permalink
Add telegram to non-square icon in pelican-bootstrap3
Browse files Browse the repository at this point in the history
This commit adds telegram to the list of non-square icons in
pelican-bootstrap3.
  • Loading branch information
alxrem committed Mar 22, 2020
1 parent dcfb5cd commit c844ba0
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', 'gitlab', 'vk'] %}
{% if name_sanitized in ['flickr', 'slideshare', 'instagram', 'spotify', 'stack-overflow', 'weibo', 'line-chart', 'home', 'user', 'users', 'envelope', 'envelope-o', 'stack-exchange', 'hacker-news', 'gitlab', 'vk', 'telegram'] %}
{% set iconattributes = '"fa fa-' ~ name_sanitized ~ ' fa-lg"' %}
{% else %}
{% set iconattributes = '"fa fa-' ~ name_sanitized ~ '-square fa-lg"' %}
Expand Down

0 comments on commit c844ba0

Please sign in to comment.