diff --git a/_plugins/contributors.rb b/_plugins/contributors.rb index ebd45d8259..e19e9d879d 100644 --- a/_plugins/contributors.rb +++ b/_plugins/contributors.rb @@ -58,10 +58,6 @@ def contributors(repo, aliases) x = {} x['name'] = name x['contributions'] = c['contributions'] - # Set avatar_url when available - if c.has_key?('avatar_url') and c['avatar_url'].is_a?(String) and /^https:\/\/avatars1\.githubusercontent\.com\/u\/[0-9]{1,10}\?v=[0-9]{1,2}$/.match(c['avatar_url']) - x['avatar_url'] = c['avatar_url'] + '&size=16' - end # Set login when available if c.has_key?('login') and c['login'].is_a?(String) and /^[A-Za-z0-9\-]{1,150}$/.match(c['login']) x['login'] = c['login'] diff --git a/_templates/about-us.html b/_templates/about-us.html index 8666dac175..1127c7316b 100644 --- a/_templates/about-us.html +++ b/_templates/about-us.html @@ -93,7 +93,6 @@

{% translate github %}

{% for c in site.sitecontributors %}
-
{% if c.avatar_url %}icon{% else %}icon{% endif %}
{{ c.name | htmlescape }}
({{ c.contributions }})
diff --git a/_templates/development.html b/_templates/development.html index 57a23cee5f..3688f75639 100755 --- a/_templates/development.html +++ b/_templates/development.html @@ -97,7 +97,6 @@

{% translate contributors %}

{% for c in site.corecontributors %}
-
{% if c.avatar_url %}icon{% else %}icon{% endif %}
{{ c.name | htmlescape }}
({{ c.contributions }})