aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/sidebar.html
diff options
context:
space:
mode:
authorTerry Boon <terry@tkb.me.uk>2016-12-04 15:13:30 +0000
committerTerry Boon <terry@tkb.me.uk>2016-12-04 15:13:30 +0000
commit561ffb6de5461931d950186b4c485d06c6c38480 (patch)
treee0f81de5430a1c1c680f976d313f21545e1a5b03 /pelican-bootstrap3/templates/includes/sidebar.html
parent993211cbda11ede17e3206e208490124d8f02a43 (diff)
downloadpelican-themes-561ffb6de5461931d950186b4c485d06c6c38480.tar.gz
Extend icons available in "social" sidebar block
The template adds "-square" to the Font Awesome icon to be used, unless the icon name is on the exception list. Some icon names potentially relevant for the "social" sidebar block do not have a "-square" version but are not on the exception list, so the icons do not display correctly. Add more relevant icon names to the list: 'home', 'user', 'users', 'envelope', 'envelope-o', 'stack-exchange', 'hacker-news'.
Diffstat (limited to 'pelican-bootstrap3/templates/includes/sidebar.html')
-rw-r--r--pelican-bootstrap3/templates/includes/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pelican-bootstrap3/templates/includes/sidebar.html b/pelican-bootstrap3/templates/includes/sidebar.html
index c59b8f0..2698338 100644
--- a/pelican-bootstrap3/templates/includes/sidebar.html
+++ b/pelican-bootstrap3/templates/includes/sidebar.html
@@ -13,7 +13,7 @@
{% else %}
{% set name_sanitized = s[0]|lower|replace('+','-plus')|replace(' ','-') %}
{% endif %}
- {% if name_sanitized in ['flickr', 'slideshare', 'spotify', 'stack-overflow', 'weibo', 'line-chart'] %}
+ {% if name_sanitized in ['flickr', 'slideshare', 'spotify', 'stack-overflow', 'weibo', 'line-chart', 'home', 'user', 'users', 'envelope', 'envelope-o', 'stack-exchange', 'hacker-news'] %}
{% set iconattributes = '"fa fa-' ~ name_sanitized ~ ' fa-lg"' %}
{% else %}
{% set iconattributes = '"fa fa-' ~ name_sanitized ~ '-square fa-lg"' %}