From c844ba09aa0551f34603db2e1775a15a707b0c87 Mon Sep 17 00:00:00 2001 From: Alexey Remizov Date: Mon, 23 Mar 2020 01:56:47 +0300 Subject: [PATCH] Add telegram to non-square icon in pelican-bootstrap3 This commit adds telegram to the list of non-square icons in pelican-bootstrap3. --- pelican-bootstrap3/templates/includes/sidebar/social.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican-bootstrap3/templates/includes/sidebar/social.html b/pelican-bootstrap3/templates/includes/sidebar/social.html index a4bdc917a..9880e42a6 100644 --- a/pelican-bootstrap3/templates/includes/sidebar/social.html +++ b/pelican-bootstrap3/templates/includes/sidebar/social.html @@ -11,7 +11,7 @@

{{ title(_('Social'), DISABLE_SIDEBAR_TITLE_ICONS) }}

{% 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"' %}