mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Merge branch 'wbnns-fix-tests'
This commit is contained in:
commit
14fa59e960
3 changed files with 0 additions and 6 deletions
|
@ -58,10 +58,6 @@ module Jekyll
|
|||
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:\/\/avatars\.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']
|
||||
|
|
|
@ -93,7 +93,6 @@ id: about-us
|
|||
<div class="contributors">
|
||||
{% for c in site.sitecontributors %}
|
||||
<div>
|
||||
<div>{% if c.avatar_url %}<img src="{{c.avatar_url}}" alt="icon" />{% else %}<img alt="icon" />{% endif %}</div>
|
||||
<div><a{% if c.login %} href="https://github.com/{{c.login}}"{% endif %}>{{ c.name | htmlescape }}</a></div>
|
||||
<div>({{ c.contributions }})</div>
|
||||
</div>
|
||||
|
|
|
@ -97,7 +97,6 @@ improvement in mind? Here are a few ideas:
|
|||
<div class="contributors">
|
||||
{% for c in site.corecontributors %}
|
||||
<div>
|
||||
<div>{% if c.avatar_url %}<img src="{{c.avatar_url}}" alt="icon" />{% else %}<img alt="icon" />{% endif %}</div>
|
||||
<div><a{% if c.login %} href="https://github.com/{{c.login}}"{% endif %}>{{ c.name | htmlescape }}</a></div>
|
||||
<div>({{ c.contributions }})</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue